Package travel.wink.payment.model
Class RawBookingContract
java.lang.Object
travel.wink.payment.model.RawBookingContract
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-05-24T12:59:53.026693+07:00[Asia/Bangkok]")
public class RawBookingContract
extends Object
contract that started it all
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddContractListItem(RawSupplierContract contractListItem) contractList(List<RawSupplierContract> contractList) displayCurrency(String displayCurrency) boolean@NotNull StringAPI key for the integrating account making the call@NotNull @Valid @Size(min=1,max=2147483647) List<RawSupplierContract>Get contractList@NotNull StringThe desired quote@NotNull StringWhere did the booking occurIntegrator can choose to include a unique identifier to help identify the collection of bookingsinthashCode()voidvoidsetContractList(List<RawSupplierContract> contractList) voidsetDisplayCurrency(String displayCurrency) voidsetSourceUrl(String sourceUrl) voidsetTraceId(String traceId) toString()
-
Field Details
-
JSON_PROPERTY_API_KEY
- See Also:
-
JSON_PROPERTY_DISPLAY_CURRENCY
- See Also:
-
JSON_PROPERTY_SOURCE_URL
- See Also:
-
JSON_PROPERTY_CONTRACT_LIST
- See Also:
-
JSON_PROPERTY_TRACE_ID
- See Also:
-
-
Constructor Details
-
RawBookingContract
public RawBookingContract()
-
-
Method Details
-
apiKey
-
getApiKey
API key for the integrating account making the call- Returns:
- apiKey
-
setApiKey
-
displayCurrency
-
getDisplayCurrency
The desired quote- Returns:
- displayCurrency
-
setDisplayCurrency
-
sourceUrl
-
getSourceUrl
Where did the booking occur- Returns:
- sourceUrl
-
setSourceUrl
-
contractList
-
addContractListItem
-
getContractList
@Nonnull @NotNull @Valid @Size(min=1, max=2147483647) public @NotNull @Valid @Size(min=1,max=2147483647) List<RawSupplierContract> getContractList()Get contractList- Returns:
- contractList
-
setContractList
-
traceId
-
getTraceId
Integrator can choose to include a unique identifier to help identify the collection of bookings- Returns:
- traceId
-
setTraceId
-
equals
-
hashCode
public int hashCode() -
toString
-