/** * 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 { MasspaymentErrCode } from './MasspaymentErrCode'; import { MasspaymentErrDesc } from './MasspaymentErrDesc'; import { Result } from './Result'; import { HttpFile } from '../http/http'; export class MasspaymentCreateResponse { 'result'?: Result; /** * Sum of transfers in the package */ 'sum'?: number; /** * Number of transfers defined in CSV file */ 'count'?: number; /** * ID of created pack using method create. */ 'packId'?: number; /** * Field visible if transfersID has been sent (see chap. \"Exemplary CSV file\") in JSON format as following: ID in transfer : ID of transfers in tpay.com system. This allows tracking single transfers. */ 'referers'?: string; 'error'?: MasspaymentErrCode; 'desc'?: MasspaymentErrDesc; 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": "sum", "baseName": "sum", "type": "number", "format": "" }, { "name": "count", "baseName": "count", "type": "number", "format": "" }, { "name": "packId", "baseName": "pack_id", "type": "number", "format": "" }, { "name": "referers", "baseName": "referers", "type": "string", "format": "" }, { "name": "error", "baseName": "error", "type": "MasspaymentErrCode", "format": "" }, { "name": "desc", "baseName": "desc", "type": "MasspaymentErrDesc", "format": "" } ]; static getAttributeTypeMap() { return MasspaymentCreateResponse.attributeTypeMap; } public constructor() { } }