-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmerchant-order.ts
56 lines (55 loc) · 1.21 KB
/
merchant-order.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
import { Item } from "./item";
import { Payment } from "./payment";
export interface MerchantOrder {
preference_id?: string;
date_created?: string;
order_status: string;
last_updated?: string;
items?: Item[];
status?: 'opened' | 'closed';
payments?: Payment[];
application_id?: string;
site_id?: string;
payer?: {
id?: string;
email?: string;
nickname?: string;
[k: string]: any;
};
collector?: {
id?: number;
email?: string;
nickname?: string;
[k: string]: any;
};
sponsor_id?: number;
cancelled?: boolean;
shipments?: {
id?: number;
shipment_type?: string;
shipping_mode?: string;
picking_type?: string;
status?: string;
substatus?: string;
items?: Item[];
date_created?: string;
last_modified?: string;
date_first_printed?: string;
service_id?: string;
sender_id?: number;
receiver_id?: number;
receiver_address?: {
zip_code?: string;
street_name?: string;
street_number?: number;
floor?: string;
apartment?: string;
[k: string]: any;
};
[k: string]: any;
};
notification_url?: string;
additional_info?: string;
external_reference?: string;
marketplace?: string;
}