Class PricedSupplierContractWithAcquirer
java.lang.Object
io.trippay.sdk.payment.model.PricedSupplierContractWithAcquirer
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-04T17:36:03.119950232+07:00[Asia/Bangkok]")
public class PricedSupplierContractWithAcquirer
extends Object
Details of the booking entries that went in for one particular supplier directly.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionaddAcquirerItem(Acquirer acquirerItem) capturePriceQuote(Quote capturePriceQuote) displayPriceQuote(Quote displayPriceQuote) booleanexternalSupplierBookingCode(String externalSupplierBookingCode) externalSupplierIdentifier(String externalSupplierIdentifier) externalTransactionIdentifier(String externalTransactionIdentifier) federatedOrganizationIdentifier(String federatedOrganizationIdentifier) federatedOrganizationName(String federatedOrganizationName) Get acquirer@NotNull @Valid QuoteGet capturePriceQuote@NotNull @Valid QuoteGet displayPriceQuote@NotNull StringExternal booking code generated by the affiliate@NotNull StringTrack supplier with its external supplier identifier@NotNull StringExternal transaction identifier populated when agent responsible for acquiring@NotNull StringThe auth realm owner ID@NotNull StringThe auth realm owner name@NotNull @Valid UUIDUnique identifier used to track the contract.@NotNull @Valid QuoteGet internalPriceQuote@NotNull StringCaller's IP address@Valid @Size(min=1,max=2147483647) List<PricedSupplierContractItemWithAcquirer> Get itemListPlace to add more data related to the booking contract.@NotNull StringWhere did the booking occur@NotNull @Valid UUIDSupplier identifier@NotNull StringSupplier name@NotNull @Valid QuoteGet supplierPriceQuote@Valid CustomMonetaryAmountGet totalCapturePrice@Valid CustomMonetaryAmountGet totalDisplayPrice@Valid CustomMonetaryAmountGet totalInternalPrice@Valid CustomMonetaryAmountGet totalPrice@Valid CustomMonetaryAmountGet totalSupplierPrice@NotNull StringWay to track which booking contracts were made together@NotNull @Valid AuthenticatedUsergetUser()Get userinthashCode()identifier(UUID identifier) internalPriceQuote(Quote internalPriceQuote) putMetadataItem(String key, String metadataItem) voidsetAcquirer(List<Acquirer> acquirer) voidsetCapturePriceQuote(Quote capturePriceQuote) voidsetDisplayPriceQuote(Quote displayPriceQuote) voidsetExternalSupplierBookingCode(String externalSupplierBookingCode) voidsetExternalSupplierIdentifier(String externalSupplierIdentifier) voidsetExternalTransactionIdentifier(String externalTransactionIdentifier) voidsetFederatedOrganizationIdentifier(String federatedOrganizationIdentifier) voidsetFederatedOrganizationName(String federatedOrganizationName) voidsetIdentifier(UUID identifier) voidsetInternalPriceQuote(Quote internalPriceQuote) voidsetIpAddress(String ipAddress) voidsetMetadata(Map<String, String> metadata) voidsetSourceUrl(String sourceUrl) voidsetSupplierIdentifier(UUID supplierIdentifier) voidsetSupplierName(String supplierName) voidsetSupplierPriceQuote(Quote supplierPriceQuote) voidsetTotalCapturePrice(CustomMonetaryAmount totalCapturePrice) voidsetTotalDisplayPrice(CustomMonetaryAmount totalDisplayPrice) voidsetTotalInternalPrice(CustomMonetaryAmount totalInternalPrice) voidsetTotalPrice(CustomMonetaryAmount totalPrice) voidsetTotalSupplierPrice(CustomMonetaryAmount totalSupplierPrice) voidsetTraceId(String traceId) voidsetUser(AuthenticatedUser user) supplierIdentifier(UUID supplierIdentifier) supplierName(String supplierName) supplierPriceQuote(Quote supplierPriceQuote) toString()totalCapturePrice(CustomMonetaryAmount totalCapturePrice) totalDisplayPrice(CustomMonetaryAmount totalDisplayPrice) totalInternalPrice(CustomMonetaryAmount totalInternalPrice) totalPrice(CustomMonetaryAmount totalPrice) totalSupplierPrice(CustomMonetaryAmount totalSupplierPrice) user(AuthenticatedUser user)
-
Field Details
-
JSON_PROPERTY_FEDERATED_ORGANIZATION_IDENTIFIER
- See Also:
-
JSON_PROPERTY_FEDERATED_ORGANIZATION_NAME
- See Also:
-
JSON_PROPERTY_USER
- See Also:
-
JSON_PROPERTY_IP_ADDRESS
- See Also:
-
JSON_PROPERTY_TRACE_ID
- See Also:
-
JSON_PROPERTY_SOURCE_URL
- See Also:
-
JSON_PROPERTY_IDENTIFIER
- See Also:
-
JSON_PROPERTY_SUPPLIER_IDENTIFIER
- See Also:
-
JSON_PROPERTY_SUPPLIER_NAME
- See Also:
-
JSON_PROPERTY_DISPLAY_PRICE_QUOTE
- See Also:
-
JSON_PROPERTY_SUPPLIER_PRICE_QUOTE
- See Also:
-
JSON_PROPERTY_INTERNAL_PRICE_QUOTE
- See Also:
-
JSON_PROPERTY_CAPTURE_PRICE_QUOTE
- See Also:
-
JSON_PROPERTY_ITEM_LIST
- See Also:
-
JSON_PROPERTY_ACQUIRER
- See Also:
-
JSON_PROPERTY_EXTERNAL_SUPPLIER_IDENTIFIER
- See Also:
-
JSON_PROPERTY_EXTERNAL_SUPPLIER_BOOKING_CODE
- See Also:
-
JSON_PROPERTY_EXTERNAL_TRANSACTION_IDENTIFIER
- See Also:
-
JSON_PROPERTY_METADATA
- See Also:
-
JSON_PROPERTY_TOTAL_PRICE
- See Also:
-
JSON_PROPERTY_TOTAL_DISPLAY_PRICE
- See Also:
-
JSON_PROPERTY_TOTAL_SUPPLIER_PRICE
- See Also:
-
JSON_PROPERTY_TOTAL_INTERNAL_PRICE
- See Also:
-
JSON_PROPERTY_TOTAL_CAPTURE_PRICE
- See Also:
-
-
Constructor Details
-
PricedSupplierContractWithAcquirer
public PricedSupplierContractWithAcquirer() -
PricedSupplierContractWithAcquirer
-
-
Method Details
-
federatedOrganizationIdentifier
public PricedSupplierContractWithAcquirer federatedOrganizationIdentifier(String federatedOrganizationIdentifier) -
getFederatedOrganizationIdentifier
The auth realm owner ID- Returns:
- federatedOrganizationIdentifier
-
setFederatedOrganizationIdentifier
-
federatedOrganizationName
public PricedSupplierContractWithAcquirer federatedOrganizationName(String federatedOrganizationName) -
getFederatedOrganizationName
The auth realm owner name- Returns:
- federatedOrganizationName
-
setFederatedOrganizationName
-
user
-
getUser
-
setUser
-
ipAddress
-
getIpAddress
-
setIpAddress
-
traceId
-
getTraceId
Way to track which booking contracts were made together- Returns:
- traceId
-
setTraceId
-
sourceUrl
-
getSourceUrl
Where did the booking occur- Returns:
- sourceUrl
-
setSourceUrl
-
identifier
-
getIdentifier
Unique identifier used to track the contract. Create a UUID for this purpose.- Returns:
- identifier
-
setIdentifier
-
supplierIdentifier
-
getSupplierIdentifier
Supplier identifier- Returns:
- supplierIdentifier
-
setSupplierIdentifier
-
supplierName
-
getSupplierName
-
setSupplierName
-
displayPriceQuote
-
getDisplayPriceQuote
Get displayPriceQuote- Returns:
- displayPriceQuote
-
setDisplayPriceQuote
-
supplierPriceQuote
-
getSupplierPriceQuote
Get supplierPriceQuote- Returns:
- supplierPriceQuote
-
setSupplierPriceQuote
-
internalPriceQuote
-
getInternalPriceQuote
Get internalPriceQuote- Returns:
- internalPriceQuote
-
setInternalPriceQuote
-
capturePriceQuote
-
getCapturePriceQuote
Get capturePriceQuote- Returns:
- capturePriceQuote
-
setCapturePriceQuote
-
getItemList
@Nonnull @Valid @Size(min=1, max=2147483647) public @Valid @Size(min=1,max=2147483647) List<PricedSupplierContractItemWithAcquirer> getItemList()Get itemList- Returns:
- itemList
-
acquirer
-
addAcquirerItem
-
getAcquirer
-
setAcquirer
-
externalSupplierIdentifier
public PricedSupplierContractWithAcquirer externalSupplierIdentifier(String externalSupplierIdentifier) -
getExternalSupplierIdentifier
Track supplier with its external supplier identifier- Returns:
- externalSupplierIdentifier
-
setExternalSupplierIdentifier
-
externalSupplierBookingCode
public PricedSupplierContractWithAcquirer externalSupplierBookingCode(String externalSupplierBookingCode) -
getExternalSupplierBookingCode
External booking code generated by the affiliate- Returns:
- externalSupplierBookingCode
-
setExternalSupplierBookingCode
-
externalTransactionIdentifier
public PricedSupplierContractWithAcquirer externalTransactionIdentifier(String externalTransactionIdentifier) -
getExternalTransactionIdentifier
External transaction identifier populated when agent responsible for acquiring- Returns:
- externalTransactionIdentifier
-
setExternalTransactionIdentifier
-
metadata
-
putMetadataItem
-
getMetadata
-
setMetadata
-
totalPrice
-
getTotalPrice
Get totalPrice- Returns:
- totalPrice
-
setTotalPrice
-
totalDisplayPrice
-
getTotalDisplayPrice
Get totalDisplayPrice- Returns:
- totalDisplayPrice
-
setTotalDisplayPrice
-
totalSupplierPrice
public PricedSupplierContractWithAcquirer totalSupplierPrice(CustomMonetaryAmount totalSupplierPrice) -
getTotalSupplierPrice
Get totalSupplierPrice- Returns:
- totalSupplierPrice
-
setTotalSupplierPrice
-
totalInternalPrice
public PricedSupplierContractWithAcquirer totalInternalPrice(CustomMonetaryAmount totalInternalPrice) -
getTotalInternalPrice
Get totalInternalPrice- Returns:
- totalInternalPrice
-
setTotalInternalPrice
-
totalCapturePrice
-
getTotalCapturePrice
Get totalCapturePrice- Returns:
- totalCapturePrice
-
setTotalCapturePrice
-
equals
-
hashCode
-
toString
-