fraudpreventionv2-sdk
Toggle table of contents
4.3.0
JVM
Platform filter
JVM
Switch theme
Search in API
fraudpreventionv2-sdk
fraudpreventionv2-sdk
/
com.expediagroup.sdk.fraudpreventionv2.models
/
Insurance
Insurance
public
final
class
Insurance
implements
TravelProduct
Members
Constructors
Insurance
Link copied to clipboard
public
Insurance
Insurance
(
Amount
price
,
String
inventoryType
,
TravelProduct.InventorySource
inventorySource
,
List
<
String
>
travelersReferences
,
Boolean
payLater
,
Boolean
refundable
)
Types
Builder
Link copied to clipboard
public
final
class
Builder
Properties
inventory
Source
Link copied to clipboard
@
NotNull
(
)
private
final
TravelProduct.InventorySource
inventorySource
inventory
Type
Link copied to clipboard
@
Length
(
max
=
30
)
@
NotNull
(
)
@
Valid
(
)
private
final
String
inventoryType
pay
Later
Link copied to clipboard
@
Valid
(
)
private
final
Boolean
payLater
price
Link copied to clipboard
@
NotNull
(
)
@
Valid
(
)
private
final
Amount
price
refundable
Link copied to clipboard
@
Valid
(
)
private
final
Boolean
refundable
travelers
References
Link copied to clipboard
@
Size
(
min
=
1
,
max
=
40
)
@
Valid
(
)
private
final
List
<
String
>
travelersReferences
type
Link copied to clipboard
private
final
TravelProductType
type
Functions
builder
Link copied to clipboard
public
final
static
Insurance.Builder
builder
(
)
get
Inventory
Source
Link copied to clipboard
public
TravelProduct.InventorySource
getInventorySource
(
)
get
Inventory
Type
Link copied to clipboard
public
String
getInventoryType
(
)
get
Pay
Later
Link copied to clipboard
public
Boolean
getPayLater
(
)
get
Price
Link copied to clipboard
public
Amount
getPrice
(
)
get
Refundable
Link copied to clipboard
public
Boolean
getRefundable
(
)
get
Travelers
References
Link copied to clipboard
public
List
<
String
>
getTravelersReferences
(
)
get
Type
Link copied to clipboard
public
TravelProductType
getType
(
)
to
Builder
Link copied to clipboard
public
final
Insurance.Builder
toBuilder
(
)