/* Options: Date: 2024-11-21 11:34:49 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: PaysonCheckout2IPNCallBack.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/payment/payson/v2/ipncallback", Verbs="POST") public static class PaysonCheckout2IPNCallBack implements IReturn, ICompany { /** * The company id, if empty will use the company id for the user you are logged in with. */ @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") public UUID CompanyId = null; /** * Internal reference id (Could be booking, could be Article..) */ @ApiMember(Description="Internal reference id (Could be booking, could be Article..)") public String BookingId = null; /** * The checkout id. */ @ApiMember(Description="The checkout id.") public UUID checkout = null; /** * Article type (Could be Service, rebate code types, etc.. */ @ApiMember(Description="Article type (Could be Service, rebate code types, etc..", IsRequired=true) public Integer ArticleTypeId = null; public UUID getCompanyId() { return CompanyId; } public PaysonCheckout2IPNCallBack setCompanyId(UUID value) { this.CompanyId = value; return this; } public String getBookingId() { return BookingId; } public PaysonCheckout2IPNCallBack setBookingId(String value) { this.BookingId = value; return this; } public UUID getCheckout() { return checkout; } public PaysonCheckout2IPNCallBack setCheckout(UUID value) { this.checkout = value; return this; } public Integer getArticleTypeId() { return ArticleTypeId; } public PaysonCheckout2IPNCallBack setArticleTypeId(Integer value) { this.ArticleTypeId = value; return this; } private static Object responseType = IpnCallBackResponse.class; public Object getResponseType() { return responseType; } } public static class IpnCallBackResponse { public String Message = null; public Boolean Success = null; public String getMessage() { return Message; } public IpnCallBackResponse setMessage(String value) { this.Message = value; return this; } public Boolean isSuccess() { return Success; } public IpnCallBackResponse setSuccess(Boolean value) { this.Success = value; return this; } } public static interface ICompany { public UUID CompanyId = null; } }