/* Options: Date: 2024-09-16 15:57:31 Version: 6.50 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://clubready.com/api/current //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: PaymentProfileUpdateEndpoint.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using ClubReady.Core.Api.Models; using ClubReady.Sales.Wallet; using ClubReady.Web.Api.Sales.Wallet; namespace ClubReady.Core.Api.Models { public partial class ApiDtoBase { public virtual string ApiKey { get; set; } public virtual int? StoreId { get; set; } public virtual int? ChainId { get; set; } } public partial class ApiResponseBase { public virtual bool Success { get; set; } public virtual string Message { get; set; } } } namespace ClubReady.Sales.Wallet { public partial class PaymentProfileUpdateRequestDto : ApiDtoBase { public virtual string AcctToken { get; set; } public virtual int? ModifiedBy { get; set; } public virtual byte? CcExpMonth { get; set; } public virtual byte? CcExpYear { get; set; } public virtual string FullName { get; set; } public virtual string PrefixName { get; set; } public virtual string FirstName { get; set; } public virtual string MiddleName { get; set; } public virtual string LastName { get; set; } public virtual string SuffixName { get; set; } public virtual string Address1 { get; set; } public virtual string Address2 { get; set; } public virtual string Urbanization { get; set; } public virtual string City { get; set; } public virtual string State { get; set; } public virtual string PostalCode { get; set; } public virtual bool? IsDisabled { get; set; } public virtual bool? ExcludeFromAcctUpdater { get; set; } } public partial class PaymentProfileUpdateResponseDto : ApiResponseBase { } } namespace ClubReady.Web.Api.Sales.Wallet { [Route("/sales/wallet/paymentprofileupdate", "PUT")] public partial class PaymentProfileUpdateEndpoint : PaymentProfileUpdateRequestDto, IReturn { /// ///Grants access to resources /// [ApiMember(Description="Grants access to resources", IsRequired=true)] public virtual string ApiKey { get; set; } /// ///AcctToken to update /// [ApiMember(Description="AcctToken to update", IsRequired=true)] public virtual string AcctToken { get; set; } /// ///UserId that is updating profile /// [ApiMember(Description="UserId that is updating profile", IsRequired=true)] public virtual int? ModifiedBy { get; set; } /// ///Expiry Month: 1 = January, 12 = December /// [ApiMember(Description="Expiry Month: 1 = January, 12 = December")] public virtual byte? CcExpMonth { get; set; } /// ///Expiry Year: Two digit year /// [ApiMember(Description="Expiry Year: Two digit year")] public virtual byte? CcExpYear { get; set; } /// ///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 virtual string FullName { get; set; } [ApiMember] public virtual string PrefixName { get; set; } [ApiMember] public virtual string FirstName { get; set; } [ApiMember] public virtual string MiddleName { get; set; } [ApiMember] public virtual string LastName { get; set; } [ApiMember] public virtual string SuffixName { get; set; } [ApiMember] public virtual string Address1 { get; set; } [ApiMember] public virtual string Address2 { get; set; } [ApiMember] public virtual string Urbanization { get; set; } [ApiMember] public virtual string City { get; set; } [ApiMember] public virtual string State { get; set; } [ApiMember] public virtual string PostalCode { get; set; } /// ///Disable (or Enabled) the Payment Profile /// [ApiMember(Description="Disable (or Enabled) the Payment Profile")] public virtual bool? IsDisabled { get; set; } /// ///Exclude (or Include) from Account Updater /// [ApiMember(Description="Exclude (or Include) from Account Updater")] public virtual bool? ExcludeFromAcctUpdater { get; set; } } public partial class PaymentProfileUpdateResponse : PaymentProfileUpdateResponseDto { } }