/** * 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 { BlikAlias } from './BlikAlias'; import { HttpFile } from '../http/http'; export class BlikFields { /** * Transaction title */ 'title': string; /** * 6 digit code generated in customer bank mobile app (required if customer does not have registered alias or when customer does not want to pay by regietered device). BLIK code contains only digits but can start with zero or multiple zeroes, so you must not cast this variable to int. */ 'code'?: string; /** * API password. */ 'apiPassword': string; /** * Mandatory field when creating oneClick transactions, optional for standart Blik transactions with 6 digit code. In case of alias registration attempt you can send only 1 alias per 1 request. */ 'alias'?: Array; /** * Transaction type. 0 - WEB mode (default value). 1 - POS mode dedicated for payment terminals */ 'type'?: number; static readonly discriminator: string | undefined = undefined; static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [ { "name": "title", "baseName": "title", "type": "string", "format": "" }, { "name": "code", "baseName": "code", "type": "string", "format": "" }, { "name": "apiPassword", "baseName": "api_password", "type": "string", "format": "" }, { "name": "alias", "baseName": "alias", "type": "Array", "format": "" }, { "name": "type", "baseName": "type", "type": "number", "format": "" } ]; static getAttributeTypeMap() { return BlikFields.attributeTypeMap; } public constructor() { } }