/* Options: Date: 2024-11-24 13:37:46 Version: 6.50 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://clubready.com/api/current //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: PaymentProfileUpdateEndpoint.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/sales/wallet/paymentprofileupdate", Verbs="PUT") open class PaymentProfileUpdateEndpoint : PaymentProfileUpdateRequestDto(), IReturn { /** * Grants access to resources */ @ApiMember(Description="Grants access to resources", IsRequired=true) var ApiKey:String? = null /** * AcctToken to update */ @ApiMember(Description="AcctToken to update", IsRequired=true) var AcctToken:String? = null /** * UserId that is updating profile */ @ApiMember(Description="UserId that is updating profile", IsRequired=true) var ModifiedBy:Int? = null /** * Expiry Month: 1 = January, 12 = December */ @ApiMember(Description="Expiry Month: 1 = January, 12 = December") var CcExpMonth:Short? = null /** * Expiry Year: Two digit year */ @ApiMember(Description="Expiry Year: Two digit year") var CcExpYear:Short? = 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.") var FullName:String? = null @ApiMember() var PrefixName:String? = null @ApiMember() var FirstName:String? = null @ApiMember() var MiddleName:String? = null @ApiMember() var LastName:String? = null @ApiMember() var SuffixName:String? = null @ApiMember() var Address1:String? = null @ApiMember() var Address2:String? = null @ApiMember() var Urbanization:String? = null @ApiMember() var City:String? = null @ApiMember() var State:String? = null @ApiMember() var PostalCode:String? = null /** * Disable (or Enabled) the Payment Profile */ @ApiMember(Description="Disable (or Enabled) the Payment Profile") var IsDisabled:Boolean? = null /** * Exclude (or Include) from Account Updater */ @ApiMember(Description="Exclude (or Include) from Account Updater") var ExcludeFromAcctUpdater:Boolean? = null companion object { private val responseType = PaymentProfileUpdateResponse::class.java } override fun getResponseType(): Any? = PaymentProfileUpdateEndpoint.responseType } open class PaymentProfileUpdateResponse : PaymentProfileUpdateResponseDto() { } open class ApiDtoBase { var ApiKey:String? = null var StoreId:Int? = null var ChainId:Int? = null } open class PaymentProfileUpdateRequestDto : ApiDtoBase() { var AcctToken:String? = null var ModifiedBy:Int? = null var CcExpMonth:Short? = null var CcExpYear:Short? = null var FullName:String? = null var PrefixName:String? = null var FirstName:String? = null var MiddleName:String? = null var LastName:String? = null var SuffixName:String? = null var Address1:String? = null var Address2:String? = null var Urbanization:String? = null var City:String? = null var State:String? = null var PostalCode:String? = null var IsDisabled:Boolean? = null var ExcludeFromAcctUpdater:Boolean? = null } open class PaymentProfileUpdateResponseDto : ApiResponseBase() { } open class ApiResponseBase { var Success:Boolean? = null var Message:String? = null }