/** * 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 { Result } from './Result'; import { TransactionErrorCodes } from './TransactionErrorCodes'; import { HttpFile } from '../http/http'; export class CreateResponse { 'result': Result; 'err'?: TransactionErrorCodes; /** * Transaction title */ 'title'?: string; /** * transaction amount casted to float */ 'amount'?: number; /** * bank account number (only for manual bank transfers) */ 'accountNumber'?: number; /** * Booking payments online indicator */ 'online'?: number; /** * Link to transaction (for redirecting to payment) */ 'url'?: string; /** * optional field, contains names of invalid fields. */ 'desc'?: string; static readonly discriminator: string | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "result", "baseName": "result", "type": "Result", "format": "" }, { "name": "err", "baseName": "err", "type": "TransactionErrorCodes", "format": "" }, { "name": "title", "baseName": "title", "type": "string", "format": "" }, { "name": "amount", "baseName": "amount", "type": "number", "format": "" }, { "name": "accountNumber", "baseName": "account_number", "type": "number", "format": "" }, { "name": "online", "baseName": "online", "type": "number", "format": "" }, { "name": "url", "baseName": "url", "type": "string", "format": "" }, { "name": "desc", "baseName": "desc", "type": "string", "format": "" } ]; static getAttributeTypeMap() { return CreateResponse.attributeTypeMap; } public constructor() { } }