@coinflowlabs/react 5.20.0 → 5.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -10
- package/build/cjs/CoinflowIFrame.js +4 -0
- package/build/cjs/CoinflowIFrame.js.map +1 -1
- package/build/cjs/MobileWalletButton.js +3 -1
- package/build/cjs/MobileWalletButton.js.map +1 -1
- package/build/cjs/card-form/CoinflowCardFormV2.js +87 -10
- package/build/cjs/card-form/CoinflowCardFormV2.js.map +1 -1
- package/build/cjs/common/CoinflowTypes.d.ts +26 -3
- package/build/cjs/common/CoinflowTypes.js +1 -0
- package/build/cjs/common/CoinflowTypes.js.map +1 -1
- package/build/cjs/common/CoinflowUtils.d.ts +1 -1
- package/build/cjs/common/CoinflowUtils.js +5 -1
- package/build/cjs/common/CoinflowUtils.js.map +1 -1
- package/build/cjs/common/card-form/cardEntryLayout.d.ts +88 -0
- package/build/cjs/common/card-form/cardEntryLayout.js +185 -0
- package/build/cjs/common/card-form/cardEntryLayout.js.map +1 -0
- package/build/cjs/common/card-form/cardFormSkeleton.d.ts +104 -0
- package/build/cjs/common/card-form/cardFormSkeleton.js +190 -0
- package/build/cjs/common/card-form/cardFormSkeleton.js.map +1 -0
- package/build/cjs/common/index.d.ts +6 -0
- package/build/cjs/common/index.js +6 -0
- package/build/cjs/common/index.js.map +1 -1
- package/build/cjs/common/types/flightTicketCartItem.d.ts +49 -0
- package/build/cjs/common/types/flightTicketCartItem.js +3 -0
- package/build/cjs/common/types/flightTicketCartItem.js.map +1 -0
- package/build/cjs/common/types/flightUpgradeCartItem.d.ts +49 -0
- package/build/cjs/common/types/flightUpgradeCartItem.js +3 -0
- package/build/cjs/common/types/flightUpgradeCartItem.js.map +1 -0
- package/build/cjs/common/types/lodgingCartItem.d.ts +37 -0
- package/build/cjs/common/types/lodgingCartItem.js +3 -0
- package/build/cjs/common/types/lodgingCartItem.js.map +1 -0
- package/build/cjs/common/types/travelCartItem.d.ts +212 -0
- package/build/cjs/common/types/travelCartItem.js +3 -0
- package/build/cjs/common/types/travelCartItem.js.map +1 -0
- package/build/esm/CoinflowIFrame.js +4 -0
- package/build/esm/CoinflowIFrame.js.map +1 -1
- package/build/esm/MobileWalletButton.js +3 -1
- package/build/esm/MobileWalletButton.js.map +1 -1
- package/build/esm/card-form/CoinflowCardFormV2.js +88 -11
- package/build/esm/card-form/CoinflowCardFormV2.js.map +1 -1
- package/build/esm/common/CoinflowTypes.d.ts +26 -3
- package/build/esm/common/CoinflowTypes.js +1 -0
- package/build/esm/common/CoinflowTypes.js.map +1 -1
- package/build/esm/common/CoinflowUtils.d.ts +1 -1
- package/build/esm/common/CoinflowUtils.js +5 -1
- package/build/esm/common/CoinflowUtils.js.map +1 -1
- package/build/esm/common/card-form/cardEntryLayout.d.ts +88 -0
- package/build/esm/common/card-form/cardEntryLayout.js +180 -0
- package/build/esm/common/card-form/cardEntryLayout.js.map +1 -0
- package/build/esm/common/card-form/cardFormSkeleton.d.ts +104 -0
- package/build/esm/common/card-form/cardFormSkeleton.js +181 -0
- package/build/esm/common/card-form/cardFormSkeleton.js.map +1 -0
- package/build/esm/common/index.d.ts +6 -0
- package/build/esm/common/index.js +6 -0
- package/build/esm/common/index.js.map +1 -1
- package/build/esm/common/types/flightTicketCartItem.d.ts +49 -0
- package/build/esm/common/types/flightTicketCartItem.js +2 -0
- package/build/esm/common/types/flightTicketCartItem.js.map +1 -0
- package/build/esm/common/types/flightUpgradeCartItem.d.ts +49 -0
- package/build/esm/common/types/flightUpgradeCartItem.js +2 -0
- package/build/esm/common/types/flightUpgradeCartItem.js.map +1 -0
- package/build/esm/common/types/lodgingCartItem.d.ts +37 -0
- package/build/esm/common/types/lodgingCartItem.js +2 -0
- package/build/esm/common/types/lodgingCartItem.js.map +1 -0
- package/build/esm/common/types/travelCartItem.d.ts +212 -0
- package/build/esm/common/types/travelCartItem.js +2 -0
- package/build/esm/common/types/travelCartItem.js.map +1 -0
- package/build/tsconfig.cjs.tsbuildinfo +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -4,11 +4,17 @@ export * from './CoinflowLibMessageHandlers';
|
|
|
4
4
|
export * from './EventBus';
|
|
5
5
|
export * from './card-form/TokenEx';
|
|
6
6
|
export * from './card-form/tokenexHelpers';
|
|
7
|
+
export * from './card-form/cardEntryLayout';
|
|
8
|
+
export * from './card-form/cardFormSkeleton';
|
|
7
9
|
export * from './types/Subtotal';
|
|
8
10
|
export * from './types/AnyObject';
|
|
9
11
|
export * from './types/giftCardCartItem';
|
|
10
12
|
export * from './types/nftCartItem';
|
|
11
13
|
export * from './types/cryptoCartItem';
|
|
14
|
+
export * from './types/travelCartItem';
|
|
15
|
+
export * from './types/flightTicketCartItem';
|
|
16
|
+
export * from './types/flightUpgradeCartItem';
|
|
17
|
+
export * from './types/lodgingCartItem';
|
|
12
18
|
export * from './CoinflowPurchaseProtectionHeaders';
|
|
13
19
|
export * from './CoinflowProtectionInit';
|
|
14
20
|
export { default as getForterToken, captureForterToken, awaitForterToken, } from './Forter';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qCAAqC,CAAC;AACpD,cAAc,0BAA0B,CAAC;AACzC,OAAO,EACL,OAAO,IAAI,cAAc,EACzB,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,qCAAqC,CAAC;AACpD,cAAc,0BAA0B,CAAC;AACzC,OAAO,EACL,OAAO,IAAI,cAAc,EACzB,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { CurrencyAmount, RecipientInfo } from './CartitemCommon';
|
|
2
|
+
import { AnyObject } from './AnyObject';
|
|
3
|
+
import { TravelFirstFlight, TravelTrip } from './travelCartItem';
|
|
4
|
+
/**
|
|
5
|
+
* Represents a flight ticket item in a shopping cart
|
|
6
|
+
*/
|
|
7
|
+
export interface FlightTicketCartItem {
|
|
8
|
+
/**
|
|
9
|
+
* Denotes the cart item class. The item schema is chosen based on this value.
|
|
10
|
+
* Allowed value: flightTicket
|
|
11
|
+
* Example: flightTicket
|
|
12
|
+
*/
|
|
13
|
+
itemClass: 'flightTicket';
|
|
14
|
+
/**
|
|
15
|
+
* The cart items's unique ID
|
|
16
|
+
* Example: 5de33332-546a-4171-8988-2a43d2bfe9c6
|
|
17
|
+
*/
|
|
18
|
+
id?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Any additional product data which can be provided, e.g. description, link to image, etc
|
|
21
|
+
* Example: {"any":"data","description":"This is the product description"}
|
|
22
|
+
*/
|
|
23
|
+
rawProductData?: AnyObject;
|
|
24
|
+
/**
|
|
25
|
+
* The item's selling price
|
|
26
|
+
*/
|
|
27
|
+
sellingPrice: CurrencyAmount;
|
|
28
|
+
/**
|
|
29
|
+
* The item's list price
|
|
30
|
+
*/
|
|
31
|
+
listPrice?: CurrencyAmount;
|
|
32
|
+
/**
|
|
33
|
+
* The user's personal info
|
|
34
|
+
*/
|
|
35
|
+
recipientInfo?: RecipientInfo;
|
|
36
|
+
/**
|
|
37
|
+
* The flight ticket's PNR code
|
|
38
|
+
* Example: X36Q9C
|
|
39
|
+
*/
|
|
40
|
+
pnr: string;
|
|
41
|
+
/**
|
|
42
|
+
* The trip details of the flight ticket
|
|
43
|
+
*/
|
|
44
|
+
trip: TravelTrip;
|
|
45
|
+
/**
|
|
46
|
+
* The first flight details of the trip
|
|
47
|
+
*/
|
|
48
|
+
firstFlight: TravelFirstFlight;
|
|
49
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flightTicketCartItem.js","sourceRoot":"","sources":["../../../../src/common/types/flightTicketCartItem.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { CurrencyAmount, RecipientInfo } from './CartitemCommon';
|
|
2
|
+
import { AnyObject } from './AnyObject';
|
|
3
|
+
/**
|
|
4
|
+
* Represents a flight upgrade item in a shopping cart
|
|
5
|
+
*/
|
|
6
|
+
export interface FlightUpgradeCartItem {
|
|
7
|
+
/**
|
|
8
|
+
* Denotes the cart item class. The item schema is chosen based on this value.
|
|
9
|
+
* Allowed value: flightUpgrade
|
|
10
|
+
* Example: flightUpgrade
|
|
11
|
+
*/
|
|
12
|
+
itemClass: 'flightUpgrade';
|
|
13
|
+
/**
|
|
14
|
+
* The cart items's unique ID
|
|
15
|
+
* Example: 5de33332-546a-4171-8988-2a43d2bfe9c6
|
|
16
|
+
*/
|
|
17
|
+
id?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Any additional product data which can be provided, e.g. description, link to image, etc
|
|
20
|
+
* Example: {"any":"data","description":"This is the product description"}
|
|
21
|
+
*/
|
|
22
|
+
rawProductData?: AnyObject;
|
|
23
|
+
/**
|
|
24
|
+
* The item's selling price
|
|
25
|
+
*/
|
|
26
|
+
sellingPrice: CurrencyAmount;
|
|
27
|
+
/**
|
|
28
|
+
* The item's list price
|
|
29
|
+
*/
|
|
30
|
+
listPrice?: CurrencyAmount;
|
|
31
|
+
/**
|
|
32
|
+
* The user's personal info
|
|
33
|
+
*/
|
|
34
|
+
recipientInfo?: RecipientInfo;
|
|
35
|
+
/**
|
|
36
|
+
* The flight ticket's PNR code
|
|
37
|
+
* Example: X36Q9C
|
|
38
|
+
*/
|
|
39
|
+
pnr?: string;
|
|
40
|
+
/**
|
|
41
|
+
* The type of upgrade
|
|
42
|
+
* Example: changes
|
|
43
|
+
*/
|
|
44
|
+
upgradeType: 'changes' | 'fareIncrease' | 'baggage' | 'seats' | 'insurance' | 'other';
|
|
45
|
+
/**
|
|
46
|
+
* The upgrade description, required when the upgrade type is `other`
|
|
47
|
+
*/
|
|
48
|
+
description?: string;
|
|
49
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flightUpgradeCartItem.js","sourceRoot":"","sources":["../../../../src/common/types/flightUpgradeCartItem.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { CurrencyAmount, RecipientInfo } from './CartitemCommon';
|
|
2
|
+
import { AnyObject } from './AnyObject';
|
|
3
|
+
import { TravelLodging } from './travelCartItem';
|
|
4
|
+
/**
|
|
5
|
+
* Represents a lodging reservation item in a shopping cart.
|
|
6
|
+
* The reservation fields are flattened at the top level of the item.
|
|
7
|
+
*/
|
|
8
|
+
export interface LodgingCartItem extends TravelLodging {
|
|
9
|
+
/**
|
|
10
|
+
* Denotes the cart item class. The item schema is chosen based on this value.
|
|
11
|
+
* Allowed value: lodging
|
|
12
|
+
* Example: lodging
|
|
13
|
+
*/
|
|
14
|
+
itemClass: 'lodging';
|
|
15
|
+
/**
|
|
16
|
+
* The cart items's unique ID
|
|
17
|
+
* Example: 5de33332-546a-4171-8988-2a43d2bfe9c6
|
|
18
|
+
*/
|
|
19
|
+
id?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Any additional product data which can be provided, e.g. description, link to image, etc
|
|
22
|
+
* Example: {"any":"data","description":"This is the product description"}
|
|
23
|
+
*/
|
|
24
|
+
rawProductData?: AnyObject;
|
|
25
|
+
/**
|
|
26
|
+
* The item's selling price
|
|
27
|
+
*/
|
|
28
|
+
sellingPrice: CurrencyAmount;
|
|
29
|
+
/**
|
|
30
|
+
* The item's list price
|
|
31
|
+
*/
|
|
32
|
+
listPrice?: CurrencyAmount;
|
|
33
|
+
/**
|
|
34
|
+
* The user's personal info
|
|
35
|
+
*/
|
|
36
|
+
recipientInfo?: RecipientInfo;
|
|
37
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lodgingCartItem.js","sourceRoot":"","sources":["../../../../src/common/types/lodgingCartItem.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
import { CurrencyAmount, RecipientInfo } from './CartitemCommon';
|
|
2
|
+
import { AnyObject } from './AnyObject';
|
|
3
|
+
/**
|
|
4
|
+
* The booked hotel details
|
|
5
|
+
*/
|
|
6
|
+
export interface TravelLodgingHotel {
|
|
7
|
+
/**
|
|
8
|
+
* The name of the hotel
|
|
9
|
+
* Example: The Plaza Hotel
|
|
10
|
+
*/
|
|
11
|
+
name: string;
|
|
12
|
+
/**
|
|
13
|
+
* The two-letter code of the country in which the hotel is located
|
|
14
|
+
* Example: US
|
|
15
|
+
* Pattern: ^[A-Z]{2}$
|
|
16
|
+
*/
|
|
17
|
+
country: string;
|
|
18
|
+
/**
|
|
19
|
+
* The city in which the hotel is located
|
|
20
|
+
* Example: New York
|
|
21
|
+
*/
|
|
22
|
+
city: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* The lodging details of the travel booking
|
|
26
|
+
*/
|
|
27
|
+
export interface TravelLodging {
|
|
28
|
+
/**
|
|
29
|
+
* Hotel reservation id
|
|
30
|
+
* Example: X36Q9C
|
|
31
|
+
*/
|
|
32
|
+
reservationId: string;
|
|
33
|
+
/**
|
|
34
|
+
* The number of nights booked in the reservation
|
|
35
|
+
* Min value: 1
|
|
36
|
+
* Example: 2
|
|
37
|
+
*/
|
|
38
|
+
nights: number;
|
|
39
|
+
/**
|
|
40
|
+
* The check-in date
|
|
41
|
+
* Example: 2022-05-02
|
|
42
|
+
*/
|
|
43
|
+
checkInDate: string;
|
|
44
|
+
/**
|
|
45
|
+
* The hour of day in which the check-in is done
|
|
46
|
+
* Example: 18
|
|
47
|
+
* Pattern: ^([01][0-9]|2[0-3])$
|
|
48
|
+
*/
|
|
49
|
+
checkInHour: string;
|
|
50
|
+
/**
|
|
51
|
+
* The booked hotel details
|
|
52
|
+
*/
|
|
53
|
+
hotel: TravelLodgingHotel;
|
|
54
|
+
/**
|
|
55
|
+
* Indicates whether extras were purchased in the reservation
|
|
56
|
+
*/
|
|
57
|
+
wereExtrasPurchased: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Indicates whether the reservation is refundable
|
|
60
|
+
*/
|
|
61
|
+
isRefundable: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* The most luxurious room booked in the reservation
|
|
64
|
+
* Example: Presidential Suite
|
|
65
|
+
*/
|
|
66
|
+
highestRoomType: string;
|
|
67
|
+
/**
|
|
68
|
+
* The number of rooms booked in the reservation
|
|
69
|
+
* Min value: 1
|
|
70
|
+
* Example: 2
|
|
71
|
+
*/
|
|
72
|
+
numberOfRooms: number;
|
|
73
|
+
/**
|
|
74
|
+
* The number of guests in the reservation
|
|
75
|
+
* Min value: 1
|
|
76
|
+
* Example: 4
|
|
77
|
+
*/
|
|
78
|
+
numberOfGuests: number;
|
|
79
|
+
/**
|
|
80
|
+
* The number of kids, out of the number of guests in the reservation
|
|
81
|
+
* Min value: 0
|
|
82
|
+
* Example: 2
|
|
83
|
+
*/
|
|
84
|
+
numberOfKids: number;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* The trip details of the travel booking
|
|
88
|
+
*/
|
|
89
|
+
export interface TravelTrip {
|
|
90
|
+
/**
|
|
91
|
+
* The number of flights in the trip
|
|
92
|
+
* Min value: 1
|
|
93
|
+
* Example: 2
|
|
94
|
+
*/
|
|
95
|
+
numberOfFlights: number;
|
|
96
|
+
/**
|
|
97
|
+
* The number of checked bags
|
|
98
|
+
* Min value: 0
|
|
99
|
+
* Example: 1
|
|
100
|
+
*/
|
|
101
|
+
numberOfCheckedBags: number;
|
|
102
|
+
/**
|
|
103
|
+
* The first-way destination's three-letter IATA airport code
|
|
104
|
+
* Example: JFK
|
|
105
|
+
* Pattern: ^[A-Z]{3}$
|
|
106
|
+
*/
|
|
107
|
+
firstWayDestination: string;
|
|
108
|
+
/**
|
|
109
|
+
* `true` if the trip is a round-trip
|
|
110
|
+
* Example: true
|
|
111
|
+
*/
|
|
112
|
+
isRoundTrip: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* `luxurious` if the highest bought travel class in the trip is a luxury class (business/first), `economy` otherwise
|
|
115
|
+
* Example: luxurious
|
|
116
|
+
*/
|
|
117
|
+
highestClass: 'economy' | 'luxurious';
|
|
118
|
+
/**
|
|
119
|
+
* True if the trip ticket is a flexible ticket
|
|
120
|
+
* Example: true
|
|
121
|
+
*/
|
|
122
|
+
isFlexibleTicket: boolean;
|
|
123
|
+
/**
|
|
124
|
+
* True if extras were included in the trip purchase
|
|
125
|
+
* Example: true
|
|
126
|
+
*/
|
|
127
|
+
wereExtrasPurchased: boolean;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* The first flight details of the trip
|
|
131
|
+
*/
|
|
132
|
+
export interface TravelFirstFlight {
|
|
133
|
+
/**
|
|
134
|
+
* The number of travelers in the first flight
|
|
135
|
+
* Min value: 1
|
|
136
|
+
* Example: 2
|
|
137
|
+
*/
|
|
138
|
+
numberOfTravelers: number;
|
|
139
|
+
/**
|
|
140
|
+
* The timestamp of the departure, in *milliseconds* since the unix epoch
|
|
141
|
+
* Example: 1551398400000
|
|
142
|
+
*/
|
|
143
|
+
departureTime: number;
|
|
144
|
+
/**
|
|
145
|
+
* The first-flight departure airport's three-letter IATA code
|
|
146
|
+
* Example: JFK
|
|
147
|
+
* Pattern: ^[A-Z]{3}$
|
|
148
|
+
*/
|
|
149
|
+
departureAirport: string;
|
|
150
|
+
/**
|
|
151
|
+
* The first-flight duration, in hours
|
|
152
|
+
* Min value: 0
|
|
153
|
+
* Example: 3.5
|
|
154
|
+
*/
|
|
155
|
+
duration: number;
|
|
156
|
+
/**
|
|
157
|
+
* The alphanumeric flight code
|
|
158
|
+
* Example: BA2491A
|
|
159
|
+
* Pattern: ^[A-Z0-9]+$
|
|
160
|
+
*/
|
|
161
|
+
flightNumber: string;
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Represents a travel booking item in a shopping cart
|
|
165
|
+
*/
|
|
166
|
+
export interface TravelCartItem {
|
|
167
|
+
/**
|
|
168
|
+
* Denotes the cart item class. The item schema is chosen based on this value.
|
|
169
|
+
* Allowed value: travel
|
|
170
|
+
* Example: travel
|
|
171
|
+
*/
|
|
172
|
+
itemClass: 'travel';
|
|
173
|
+
/**
|
|
174
|
+
* The cart items's unique ID
|
|
175
|
+
* Example: 5de33332-546a-4171-8988-2a43d2bfe9c6
|
|
176
|
+
*/
|
|
177
|
+
id?: string;
|
|
178
|
+
/**
|
|
179
|
+
* Any additional product data which can be provided, e.g. description, link to image, etc
|
|
180
|
+
* Example: {"any":"data","description":"This is the product description"}
|
|
181
|
+
*/
|
|
182
|
+
rawProductData?: AnyObject;
|
|
183
|
+
/**
|
|
184
|
+
* The item's selling price
|
|
185
|
+
*/
|
|
186
|
+
sellingPrice: CurrencyAmount;
|
|
187
|
+
/**
|
|
188
|
+
* The item's list price
|
|
189
|
+
*/
|
|
190
|
+
listPrice?: CurrencyAmount;
|
|
191
|
+
/**
|
|
192
|
+
* The user's personal info
|
|
193
|
+
*/
|
|
194
|
+
recipientInfo?: RecipientInfo;
|
|
195
|
+
/**
|
|
196
|
+
* The lodging details of the travel booking
|
|
197
|
+
*/
|
|
198
|
+
lodging: TravelLodging;
|
|
199
|
+
/**
|
|
200
|
+
* The flight ticket's PNR code
|
|
201
|
+
* Example: X36Q9C
|
|
202
|
+
*/
|
|
203
|
+
pnr: string;
|
|
204
|
+
/**
|
|
205
|
+
* The trip details of the travel booking
|
|
206
|
+
*/
|
|
207
|
+
trip: TravelTrip;
|
|
208
|
+
/**
|
|
209
|
+
* The first flight details of the trip
|
|
210
|
+
*/
|
|
211
|
+
firstFlight: TravelFirstFlight;
|
|
212
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"travelCartItem.js","sourceRoot":"","sources":["../../../../src/common/types/travelCartItem.ts"],"names":[],"mappings":""}
|