/**
* NOTE: This class is auto generated by DANA Indonesia.
* Do not edit the class manually.
*/
import type { ValidationErrorContext } from '../../../runtime';
import type { Money } from './Money';
/**
*
* @export
* @interface Goods
*/
export interface Goods {
/**
* Goods name
* @type {string}
* @memberof Goods
*/
name: string;
/**
* Goods identifier provided by merchant
* @type {string}
* @memberof Goods
*/
merchantGoodsId: string;
/**
* Goods description
* @type {string}
* @memberof Goods
*/
description: string;
/**
* Goods category
* @type {string}
* @memberof Goods
*/
category: string;
/**
* Goods price. Contains two sub-fields:
* 1. Value: Transaction amount, including the cents
* 2. Currency: Currency code based on ISO
*
* @type {Money}
* @memberof Goods
*/
price: Money;
/**
* Goods unit
* @type {string}
* @memberof Goods
*/
unit?: string;
/**
* Count of items
* @type {string}
* @memberof Goods
*/
quantity: string;
/**
* Shipment identifier provided by merchant
* @type {string}
* @memberof Goods
*/
merchantShippingId?: string;
/**
* The URL of good's snapshot web page
* @type {string}
* @memberof Goods
*/
snapshotUrl?: string;
/**
* Extend information
* @type {string}
* @memberof Goods
*/
extendInfo?: string;
}
/**
* Check if a given object implements the Goods interface.
*/
export declare function instanceOfGoods(value: object): value is Goods;
export declare function GoodsFromJSON(json: any): Goods;
export declare function GoodsFromJSONTyped(json: any, ignoreDiscriminator: boolean): Goods;
export declare function GoodsToJSON(json: any): Goods;
export declare function GoodsToJSONTyped(value?: Goods | null, ignoreDiscriminator?: boolean): any;
export declare function validateGoods(value: Goods): ValidationErrorContext[];