Class PricedSupplierContractWithAcquirer
java.lang.Object
io.trippay.sdk.payment.acquiring.model.PricedSupplierContractWithAcquirer
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-04-12T17:32:35.929546062+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 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) 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 @Valid UUIDUnique identifier used to track the contract.@NotNull @Valid QuoteGet internalPriceQuote@Valid @Size(min=1,max=2147483647) List<PricedSupplierContractItemWithAcquirer>Get itemList@NotNull @Valid UUIDSupplier identifier@NotNull StringSupplier name@NotNull @Valid QuoteGet supplierPriceQuote@Valid MoneysGet totalCapturePrice@Valid MoneysGet totalDisplayPrice@Valid MoneysGet totalInternalPrice@Valid MoneysGet totalPrice@Valid MoneysGet totalSupplierPriceinthashCode()identifier(UUID identifier) internalPriceQuote(Quote internalPriceQuote) voidsetAcquirer(List<Acquirer> acquirer) voidsetCapturePriceQuote(Quote capturePriceQuote) voidsetDisplayPriceQuote(Quote displayPriceQuote) voidsetExternalSupplierBookingCode(String externalSupplierBookingCode) voidsetExternalSupplierIdentifier(String externalSupplierIdentifier) voidsetExternalTransactionIdentifier(String externalTransactionIdentifier) voidsetIdentifier(UUID identifier) voidsetInternalPriceQuote(Quote internalPriceQuote) voidsetSupplierIdentifier(UUID supplierIdentifier) voidsetSupplierName(String supplierName) voidsetSupplierPriceQuote(Quote supplierPriceQuote) voidsetTotalCapturePrice(Moneys totalCapturePrice) voidsetTotalDisplayPrice(Moneys totalDisplayPrice) voidsetTotalInternalPrice(Moneys totalInternalPrice) voidsetTotalPrice(Moneys totalPrice) voidsetTotalSupplierPrice(Moneys totalSupplierPrice) supplierIdentifier(UUID supplierIdentifier) supplierName(String supplierName) supplierPriceQuote(Quote supplierPriceQuote) toString()totalCapturePrice(Moneys totalCapturePrice) totalDisplayPrice(Moneys totalDisplayPrice) totalInternalPrice(Moneys totalInternalPrice) totalPrice(Moneys totalPrice) totalSupplierPrice(Moneys totalSupplierPrice)
-
Field Details
-
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_TOTAL_CAPTURE_PRICE
- 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:
-
-
Constructor Details
-
PricedSupplierContractWithAcquirer
public PricedSupplierContractWithAcquirer() -
PricedSupplierContractWithAcquirer
-
-
Method Details
-
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
Supplier name- Returns:
- supplierName
-
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
Get acquirer- Returns:
- acquirer
-
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
-
totalCapturePrice
-
getTotalCapturePrice
Get totalCapturePrice- Returns:
- totalCapturePrice
-
setTotalCapturePrice
-
totalPrice
-
getTotalPrice
Get totalPrice- Returns:
- totalPrice
-
setTotalPrice
-
totalDisplayPrice
-
getTotalDisplayPrice
Get totalDisplayPrice- Returns:
- totalDisplayPrice
-
setTotalDisplayPrice
-
totalSupplierPrice
-
getTotalSupplierPrice
Get totalSupplierPrice- Returns:
- totalSupplierPrice
-
setTotalSupplierPrice
-
totalInternalPrice
-
getTotalInternalPrice
Get totalInternalPrice- Returns:
- totalInternalPrice
-
setTotalInternalPrice
-
equals
-
hashCode
public int hashCode() -
toString
-