Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions src/models/getSplitOptionsResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,20 @@
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/

import { boolean, nullable, object, optional, Schema, string } from '../schema';
import { boolean, nullable, object, optional, Schema } from '../schema';

export interface GetSplitOptionsResponse {
liable?: boolean | null;
chargeProcessingFee?: boolean | null;
chargeRemainderFee?: string | null;
chargeRemainderFee?: boolean | null;
}

export const getSplitOptionsResponseSchema: Schema<GetSplitOptionsResponse> = object(
{
export const getSplitOptionsResponseSchema: Schema<GetSplitOptionsResponse> =
object({
liable: ['liable', optional(nullable(boolean()))],
chargeProcessingFee: [
'charge_processing_fee',
optional(nullable(boolean())),
],
chargeRemainderFee: ['charge_remainder_fee', optional(nullable(string()))],
}
);
chargeRemainderFee: ['charge_remainder_fee', optional(nullable(boolean()))],
});