@maxio-com/advanced-billing-sdk
Version:
Ultimate billing and pricing flexibility for B2B SaaS. Maxio integrates directly into your product, so you can seamlessly manage your product catalog, bill customers, and collect payments.
28 lines (24 loc) • 1.23 kB
text/typescript
/**
* AdvancedBilling
*
* This file was automatically generated for Maxio by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { expandoObject, optional, Schema, string } from '../schema';
/** (Optional) If passed, the proof of the authorized ACH agreement terms will be persisted. */
export interface ACHAgreement {
/** (Required when providing ACH agreement params) The ACH authorization agreement terms. */
agreementTerms?: string;
/** (Required when providing ACH agreement params) The first name of the person authorizing the ACH agreement. */
authorizerFirstName?: string;
/** (Required when providing ACH agreement params) The last name of the person authorizing the ACH agreement. */
authorizerLastName?: string;
/** (Required when providing ACH agreement params) The IP address of the person authorizing the ACH agreement. */
ipAddress?: string;
[]: unknown;
}
export const aCHAgreementSchema: Schema<ACHAgreement> = expandoObject({
agreementTerms: ['agreement_terms', optional(string())],
authorizerFirstName: ['authorizer_first_name', optional(string())],
authorizerLastName: ['authorizer_last_name', optional(string())],
ipAddress: ['ip_address', optional(string())],
});