@apideck/node
Version:
Apideck Node.js SDK
125 lines (124 loc) • 3.1 kB
TypeScript
/**
* Apideck
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.13.0
* Contact: support@apideck.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 { Address } from './Address';
import { Currency } from './Currency';
import { PassThroughBody } from './PassThroughBody';
import { ServiceCharge } from './ServiceCharge';
/**
*
* @export
* @interface Merchant
*/
export interface Merchant {
/**
* A unique identifier for an object.
* @type {string}
* @memberof Merchant
*/
readonly id?: string;
/**
* The name of the merchant
* @type {string}
* @memberof Merchant
*/
name?: string | null;
/**
*
* @type {Address}
* @memberof Merchant
*/
address?: Address;
/**
*
* @type {string}
* @memberof Merchant
*/
owner_id?: string;
/**
* The main location ID of the merchant
* @type {string}
* @memberof Merchant
*/
main_location_id?: string | null;
/**
* Status of this merchant.
* @type {string}
* @memberof Merchant
*/
status?: MerchantStatus;
/**
*
* @type {Array<ServiceCharge>}
* @memberof Merchant
*/
service_charges?: Array<ServiceCharge>;
/**
* language code according to ISO 639-1. For the United States - EN
* @type {string}
* @memberof Merchant
*/
language?: string | null;
/**
*
* @type {Currency}
* @memberof Merchant
*/
currency?: Currency | null;
/**
* When custom mappings are configured on the resource, the result is included here.
* @type {object}
* @memberof Merchant
*/
readonly custom_mappings?: object | null;
/**
* The user who last updated the object.
* @type {string}
* @memberof Merchant
*/
readonly updated_by?: string | null;
/**
* The user who created the object.
* @type {string}
* @memberof Merchant
*/
readonly created_by?: string | null;
/**
* The date and time when the object was last updated.
* @type {Date}
* @memberof Merchant
*/
readonly updated_at?: Date | null;
/**
* The date and time when the object was created.
* @type {Date}
* @memberof Merchant
*/
readonly created_at?: Date | null;
/**
*
* @type {PassThroughBody}
* @memberof Merchant
*/
pass_through?: PassThroughBody;
}
/**
* @export
* @enum {string}
*/
export declare enum MerchantStatus {
active = "active",
inactive = "inactive",
other = "other"
}
export declare function MerchantFromJSON(json: any): Merchant;
export declare function MerchantFromJSONTyped(json: any, ignoreDiscriminator: boolean): Merchant;
export declare function MerchantToJSON(value?: Merchant | null): any;