/** * Tpay.com Technical Documentation *

Demo transaction/masspayments api key:

Demo cards api key:

The terms seller and merchant are used interchangeably and they both refer to a person or a company registered at tpay.com to accept online payments.
Whenever term merchant panel is used it refers to the part of tpay.com website located at secure.tpay.com/panel.

For sandbox purposes use merchant demo account

ID - 1010, Password - demo

Remember that this is a shared account, so all data passed through will be publicly visible.

* * OpenAPI spec version: 1.2.2 * Contact: pt@tpay.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { HttpFile } from '../http/http'; /** * Each transfer object represents one transfer within specific transfers pack. */ export class TransfersObject { /** * Date of creating payment */ 'date'?: string; /** * Date of payment authorization (method authorize). Field can be empty. */ 'authDate'?: string; /** * Date of posting payment */ 'accDate'?: string; /** * Payment status */ 'status'?: TransfersObjectStatusEnum; /** * Bank account number (format IBAN, 26 digits) */ 'accnum'?: string; /** * Receiver name (first part) */ 'rcv1'?: string; /** * Receiver name (second part) */ 'rcv2'?: string; /** * Receiver name (third part) */ 'rcv3'?: string; /** * Receiver name (fourth part) */ 'rcv4'?: string; /** * transaction amount casted to float */ 'amount'?: number; /** * Payment title (first part) */ 'title1'?: string; /** * Payment title (second part) */ 'title2'?: string; /** * Payment ID in tpay.com system */ 'trId'?: number; static readonly discriminator: string | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "date", "baseName": "date", "type": "string", "format": "datetime" }, { "name": "authDate", "baseName": "auth_date", "type": "string", "format": "datetime" }, { "name": "accDate", "baseName": "acc_date", "type": "string", "format": "datetime" }, { "name": "status", "baseName": "status", "type": "TransfersObjectStatusEnum", "format": "" }, { "name": "accnum", "baseName": "accnum", "type": "string", "format": "" }, { "name": "rcv1", "baseName": "rcv1", "type": "string", "format": "" }, { "name": "rcv2", "baseName": "rcv2", "type": "string", "format": "" }, { "name": "rcv3", "baseName": "rcv3", "type": "string", "format": "" }, { "name": "rcv4", "baseName": "rcv4", "type": "string", "format": "" }, { "name": "amount", "baseName": "amount", "type": "number", "format": "" }, { "name": "title1", "baseName": "title1", "type": "string", "format": "" }, { "name": "title2", "baseName": "title2", "type": "string", "format": "" }, { "name": "trId", "baseName": "tr_id", "type": "number", "format": "" } ]; static getAttributeTypeMap() { return TransfersObject.attributeTypeMap; } public constructor() { } } export type TransfersObjectStatusEnum = "pending" | "auth" | "processed" | "done" ;