/* Options: Date: 2024-11-24 14:03:05 Version: 6.50 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://clubready.com/api/current //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: PaymentProfileUpdateEndpoint.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export class ApiDtoBase { public ApiKey: string; public StoreId?: number; public ChainId?: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class PaymentProfileUpdateRequestDto extends ApiDtoBase { public AcctToken?: string; public ModifiedBy?: number; public CcExpMonth?: number; public CcExpYear?: number; public FullName?: string; public PrefixName?: string; public FirstName?: string; public MiddleName?: string; public LastName?: string; public SuffixName?: string; public Address1?: string; public Address2?: string; public Urbanization?: string; public City?: string; public State?: string; public PostalCode?: string; public IsDisabled?: boolean; public ExcludeFromAcctUpdater?: boolean; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class ApiResponseBase { public Success: boolean; public Message: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class PaymentProfileUpdateResponseDto extends ApiResponseBase { public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class PaymentProfileUpdateResponse extends PaymentProfileUpdateResponseDto { public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } // @Route("/sales/wallet/paymentprofileupdate", "PUT") export class PaymentProfileUpdateEndpoint extends PaymentProfileUpdateRequestDto implements IReturn { /** * Grants access to resources */ // @ApiMember(Description="Grants access to resources", IsRequired=true) public ApiKey: string; /** * AcctToken to update */ // @ApiMember(Description="AcctToken to update", IsRequired=true) public AcctToken: string; /** * UserId that is updating profile */ // @ApiMember(Description="UserId that is updating profile", IsRequired=true) public ModifiedBy: number; /** * Expiry Month: 1 = January, 12 = December */ // @ApiMember(Description="Expiry Month: 1 = January, 12 = December") public CcExpMonth?: number; /** * Expiry Year: Two digit year */ // @ApiMember(Description="Expiry Year: Two digit year") public CcExpYear?: number; /** * 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 FullName?: string; // @ApiMember() public PrefixName?: string; // @ApiMember() public FirstName?: string; // @ApiMember() public MiddleName?: string; // @ApiMember() public LastName?: string; // @ApiMember() public SuffixName?: string; // @ApiMember() public Address1?: string; // @ApiMember() public Address2?: string; // @ApiMember() public Urbanization?: string; // @ApiMember() public City?: string; // @ApiMember() public State?: string; // @ApiMember() public PostalCode?: string; /** * Disable (or Enabled) the Payment Profile */ // @ApiMember(Description="Disable (or Enabled) the Payment Profile") public IsDisabled?: boolean; /** * Exclude (or Include) from Account Updater */ // @ApiMember(Description="Exclude (or Include) from Account Updater") public ExcludeFromAcctUpdater?: boolean; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } public getTypeName() { return 'PaymentProfileUpdateEndpoint'; } public getMethod() { return 'PUT'; } public createResponse() { return new PaymentProfileUpdateResponse(); } }