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 { Language } from './Language';
import { HttpFile } from '../http/http';
export class VcFinishFields {
/**
* API password.
*/
'apiPassword': string;
/**
* Modified summary_data parameter received from visacheckout_prepare. Can be used, when the total amount or other parameters changea in the order process.
*/
'summaryData'?: Array>;
/**
* Visa Checkout Call Id
*/
'callId': string;
'language'?: Language;
/**
* Sign is calculated from cryptographic hash function set in Merchant’s Panel (default SHA-1): hash_alg (method + call_id + language + enable_pow_url + verification code) where + means concatenation.
*/
'sign': string;
/**
* If parameter was sent, system will redirect a cutomer to the merchant site after payment. 1 – redirect Adress is set in Merchant Panel.
*/
'enablePowUrl'?: number;
static readonly discriminator: string | undefined = undefined;
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "apiPassword",
"baseName": "api_password",
"type": "string",
"format": ""
},
{
"name": "summaryData",
"baseName": "summary_data",
"type": "Array>",
"format": ""
},
{
"name": "callId",
"baseName": "call_id",
"type": "string",
"format": ""
},
{
"name": "language",
"baseName": "language",
"type": "Language",
"format": ""
},
{
"name": "sign",
"baseName": "sign",
"type": "string",
"format": ""
},
{
"name": "enablePowUrl",
"baseName": "enable_pow_url",
"type": "number",
"format": ""
} ];
static getAttributeTypeMap() {
return VcFinishFields.attributeTypeMap;
}
public constructor() {
}
}