pnz-payments-sdk
Version:
PNZ Payments Account and Transaction API
47 lines (46 loc) • 1.86 kB
TypeScript
/**
* Account and Transaction API SpecificationLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { Schema } from '../schema';
import { Amount } from './amount';
import { Fee } from './fee';
import { OfferTypeEnum } from './offerTypeEnum';
export interface OfferModel {
/** A unique and immutable identifier used to identify the account resource. This identifier has no meaning to the account owner. */
accountId: string;
/** A unique and immutable identifier used to identify the offer resource. This identifier has no meaning to the account owner. */
offerId?: string;
/** Offer type, in a coded form. */
offerType?: OfferTypeEnum;
/** Further details of the offer. */
description?: string;
/**
* Date and time at which the offer starts.
* All dates in the JSON payloads are represented in ISO 8601 date-time format.
* All date-time fields in responses must include the timezone. An example is below:
* 2017-04-05T10:43:07+00:00
*/
startDateTime?: string;
/**
* Date and time at which the offer ends.
* All dates in the JSON payloads are represented in ISO 8601 date-time format.
* All date-time fields in responses must include the timezone. An example is below:
* 2017-04-05T10:43:07+00:00
*/
endDateTime?: string;
/** Amount of money of the cash balance. */
amount?: Amount;
/** Fee associated with the offer type. */
fee?: Fee;
/** Rate associated with the offer type. */
rate?: string;
/** Value associated with the offer type. */
value?: number;
/** Further details of the term of the offer. */
term?: string;
/** URL (Uniform Resource Locator) where the document can be found */
uRL?: string;
}
export declare const offerModelSchema: Schema<OfferModel>;