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 pack object represents one created pack contents
*/
export class PacksObject {
/**
* ID of created pack using method create.
*/
'packId'?: number;
/**
* Date of package creation
*/
'date'?: string;
/**
* Date of package authorization (method authorize)
*/
'authDate'?: string;
/**
* Package status
*/
'status'?: PacksObjectStatusEnum;
/**
* Number of transfers in the package
*/
'count'?: number;
/**
* Sum of transfers in the package
*/
'sum'?: number;
/**
* Additional cost of processing transfers in the package
*/
'cost'?: number;
static readonly discriminator: string | undefined = undefined;
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "packId",
"baseName": "pack_id",
"type": "number",
"format": ""
},
{
"name": "date",
"baseName": "date",
"type": "string",
"format": "datetime"
},
{
"name": "authDate",
"baseName": "auth_date",
"type": "string",
"format": "datetime"
},
{
"name": "status",
"baseName": "status",
"type": "PacksObjectStatusEnum",
"format": ""
},
{
"name": "count",
"baseName": "count",
"type": "number",
"format": ""
},
{
"name": "sum",
"baseName": "sum",
"type": "number",
"format": ""
},
{
"name": "cost",
"baseName": "cost",
"type": "number",
"format": ""
} ];
static getAttributeTypeMap() {
return PacksObject.attributeTypeMap;
}
public constructor() {
}
}
export type PacksObjectStatusEnum = "pending" | "auth" ;