/* Options: Date: 2024-11-21 11:55:43 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: PaysonCheckout1IPNCallBack.* //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/v1/ipncallback", Verbs="POST") public static class PaysonCheckout1IPNCallBack 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; /** * Internal reference id (Could be booking, could be Article..) */ @ApiMember(Description="Internal reference id (Could be booking, could be Article..)") public String InternalReferenceId = null; /** * The payment token. */ @ApiMember(Description="The payment token.") public String Token = null; /** * The payment content. */ @ApiMember(Description="The payment content.") public String Content = 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 PaysonCheckout1IPNCallBack setCompanyId(UUID value) { this.CompanyId = value; return this; } public String getBookingId() { return BookingId; } public PaysonCheckout1IPNCallBack setBookingId(String value) { this.BookingId = value; return this; } public String getInternalReferenceId() { return InternalReferenceId; } public PaysonCheckout1IPNCallBack setInternalReferenceId(String value) { this.InternalReferenceId = value; return this; } public String getToken() { return Token; } public PaysonCheckout1IPNCallBack setToken(String value) { this.Token = value; return this; } public String getContent() { return Content; } public PaysonCheckout1IPNCallBack setContent(String value) { this.Content = value; return this; } public Integer getArticleTypeId() { return ArticleTypeId; } public PaysonCheckout1IPNCallBack 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; } }