/* Options: Date: 2024-11-24 13:32:45 Version: 6.50 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://clubready.com/api/current //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: PaymentProfileUpdateEndpoint.* //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="/sales/wallet/paymentprofileupdate", Verbs="PUT") public static class PaymentProfileUpdateEndpoint extends PaymentProfileUpdateRequestDto implements IReturn { /** * Grants access to resources */ @ApiMember(Description="Grants access to resources", IsRequired=true) public String ApiKey = null; /** * AcctToken to update */ @ApiMember(Description="AcctToken to update", IsRequired=true) public String AcctToken = null; /** * UserId that is updating profile */ @ApiMember(Description="UserId that is updating profile", IsRequired=true) public Integer ModifiedBy = null; /** * Expiry Month: 1 = January, 12 = December */ @ApiMember(Description="Expiry Month: 1 = January, 12 = December") public Short CcExpMonth = null; /** * Expiry Year: Two digit year */ @ApiMember(Description="Expiry Year: Two digit year") public Short CcExpYear = null; /** * The name can be provided with FullName OR as separate fields (PrefixName, FirstName, MiddleName, LastName, SuffixName).
Providing both will cause an error. */ @ApiMember(Description="The name can be provided with FullName OR as separate fields (PrefixName, FirstName, MiddleName, LastName, SuffixName).
Providing both will cause an error.") public String FullName = null; @ApiMember() public String PrefixName = null; @ApiMember() public String FirstName = null; @ApiMember() public String MiddleName = null; @ApiMember() public String LastName = null; @ApiMember() public String SuffixName = null; @ApiMember() public String Address1 = null; @ApiMember() public String Address2 = null; @ApiMember() public String Urbanization = null; @ApiMember() public String City = null; @ApiMember() public String State = null; @ApiMember() public String PostalCode = null; /** * Disable (or Enabled) the Payment Profile */ @ApiMember(Description="Disable (or Enabled) the Payment Profile") public Boolean IsDisabled = null; /** * Exclude (or Include) from Account Updater */ @ApiMember(Description="Exclude (or Include) from Account Updater") public Boolean ExcludeFromAcctUpdater = null; public String getApiKey() { return ApiKey; } public PaymentProfileUpdateEndpoint setApiKey(String value) { this.ApiKey = value; return this; } public String getAcctToken() { return AcctToken; } public PaymentProfileUpdateEndpoint setAcctToken(String value) { this.AcctToken = value; return this; } public Integer getModifiedBy() { return ModifiedBy; } public PaymentProfileUpdateEndpoint setModifiedBy(Integer value) { this.ModifiedBy = value; return this; } public Short getCcExpMonth() { return CcExpMonth; } public PaymentProfileUpdateEndpoint setCcExpMonth(Short value) { this.CcExpMonth = value; return this; } public Short getCcExpYear() { return CcExpYear; } public PaymentProfileUpdateEndpoint setCcExpYear(Short value) { this.CcExpYear = value; return this; } public String getFullName() { return FullName; } public PaymentProfileUpdateEndpoint setFullName(String value) { this.FullName = value; return this; } public String getPrefixName() { return PrefixName; } public PaymentProfileUpdateEndpoint setPrefixName(String value) { this.PrefixName = value; return this; } public String getFirstName() { return FirstName; } public PaymentProfileUpdateEndpoint setFirstName(String value) { this.FirstName = value; return this; } public String getMiddleName() { return MiddleName; } public PaymentProfileUpdateEndpoint setMiddleName(String value) { this.MiddleName = value; return this; } public String getLastName() { return LastName; } public PaymentProfileUpdateEndpoint setLastName(String value) { this.LastName = value; return this; } public String getSuffixName() { return SuffixName; } public PaymentProfileUpdateEndpoint setSuffixName(String value) { this.SuffixName = value; return this; } public String getAddress1() { return Address1; } public PaymentProfileUpdateEndpoint setAddress1(String value) { this.Address1 = value; return this; } public String getAddress2() { return Address2; } public PaymentProfileUpdateEndpoint setAddress2(String value) { this.Address2 = value; return this; } public String getUrbanization() { return Urbanization; } public PaymentProfileUpdateEndpoint setUrbanization(String value) { this.Urbanization = value; return this; } public String getCity() { return City; } public PaymentProfileUpdateEndpoint setCity(String value) { this.City = value; return this; } public String getState() { return State; } public PaymentProfileUpdateEndpoint setState(String value) { this.State = value; return this; } public String getPostalCode() { return PostalCode; } public PaymentProfileUpdateEndpoint setPostalCode(String value) { this.PostalCode = value; return this; } public Boolean getIsDisabled() { return IsDisabled; } public PaymentProfileUpdateEndpoint setIsDisabled(Boolean value) { this.IsDisabled = value; return this; } public Boolean isExcludeFromAcctUpdater() { return ExcludeFromAcctUpdater; } public PaymentProfileUpdateEndpoint setExcludeFromAcctUpdater(Boolean value) { this.ExcludeFromAcctUpdater = value; return this; } private static Object responseType = PaymentProfileUpdateResponse.class; public Object getResponseType() { return responseType; } } public static class PaymentProfileUpdateResponse extends PaymentProfileUpdateResponseDto { } public static class ApiDtoBase { public String ApiKey = null; public Integer StoreId = null; public Integer ChainId = null; public String getApiKey() { return ApiKey; } public ApiDtoBase setApiKey(String value) { this.ApiKey = value; return this; } public Integer getStoreId() { return StoreId; } public ApiDtoBase setStoreId(Integer value) { this.StoreId = value; return this; } public Integer getChainId() { return ChainId; } public ApiDtoBase setChainId(Integer value) { this.ChainId = value; return this; } } public static class PaymentProfileUpdateRequestDto extends ApiDtoBase { public String AcctToken = null; public Integer ModifiedBy = null; public Short CcExpMonth = null; public Short CcExpYear = null; public String FullName = null; public String PrefixName = null; public String FirstName = null; public String MiddleName = null; public String LastName = null; public String SuffixName = null; public String Address1 = null; public String Address2 = null; public String Urbanization = null; public String City = null; public String State = null; public String PostalCode = null; public Boolean IsDisabled = null; public Boolean ExcludeFromAcctUpdater = null; public String getAcctToken() { return AcctToken; } public PaymentProfileUpdateRequestDto setAcctToken(String value) { this.AcctToken = value; return this; } public Integer getModifiedBy() { return ModifiedBy; } public PaymentProfileUpdateRequestDto setModifiedBy(Integer value) { this.ModifiedBy = value; return this; } public Short getCcExpMonth() { return CcExpMonth; } public PaymentProfileUpdateRequestDto setCcExpMonth(Short value) { this.CcExpMonth = value; return this; } public Short getCcExpYear() { return CcExpYear; } public PaymentProfileUpdateRequestDto setCcExpYear(Short value) { this.CcExpYear = value; return this; } public String getFullName() { return FullName; } public PaymentProfileUpdateRequestDto setFullName(String value) { this.FullName = value; return this; } public String getPrefixName() { return PrefixName; } public PaymentProfileUpdateRequestDto setPrefixName(String value) { this.PrefixName = value; return this; } public String getFirstName() { return FirstName; } public PaymentProfileUpdateRequestDto setFirstName(String value) { this.FirstName = value; return this; } public String getMiddleName() { return MiddleName; } public PaymentProfileUpdateRequestDto setMiddleName(String value) { this.MiddleName = value; return this; } public String getLastName() { return LastName; } public PaymentProfileUpdateRequestDto setLastName(String value) { this.LastName = value; return this; } public String getSuffixName() { return SuffixName; } public PaymentProfileUpdateRequestDto setSuffixName(String value) { this.SuffixName = value; return this; } public String getAddress1() { return Address1; } public PaymentProfileUpdateRequestDto setAddress1(String value) { this.Address1 = value; return this; } public String getAddress2() { return Address2; } public PaymentProfileUpdateRequestDto setAddress2(String value) { this.Address2 = value; return this; } public String getUrbanization() { return Urbanization; } public PaymentProfileUpdateRequestDto setUrbanization(String value) { this.Urbanization = value; return this; } public String getCity() { return City; } public PaymentProfileUpdateRequestDto setCity(String value) { this.City = value; return this; } public String getState() { return State; } public PaymentProfileUpdateRequestDto setState(String value) { this.State = value; return this; } public String getPostalCode() { return PostalCode; } public PaymentProfileUpdateRequestDto setPostalCode(String value) { this.PostalCode = value; return this; } public Boolean getIsDisabled() { return IsDisabled; } public PaymentProfileUpdateRequestDto setIsDisabled(Boolean value) { this.IsDisabled = value; return this; } public Boolean isExcludeFromAcctUpdater() { return ExcludeFromAcctUpdater; } public PaymentProfileUpdateRequestDto setExcludeFromAcctUpdater(Boolean value) { this.ExcludeFromAcctUpdater = value; return this; } } public static class PaymentProfileUpdateResponseDto extends ApiResponseBase { } public static class ApiResponseBase { public Boolean Success = null; public String Message = null; public Boolean isSuccess() { return Success; } public ApiResponseBase setSuccess(Boolean value) { this.Success = value; return this; } public String getMessage() { return Message; } public ApiResponseBase setMessage(String value) { this.Message = value; return this; } } }