Class PricedSupplierContract

java.lang.Object
io.trippay.sdk.payment.model.PricedSupplierContract

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-12-21T14:52:05.695971143+07:00[Asia/Bangkok]") public class PricedSupplierContract extends Object
Details of the booking entries that went in for one particular supplier directly.
  • Field Details

  • Constructor Details

    • PricedSupplierContract

      public PricedSupplierContract()
    • PricedSupplierContract

      public PricedSupplierContract(List<PricedSupplierContractItem> itemList)
  • Method Details

    • federatedOrganizationIdentifier

      public PricedSupplierContract federatedOrganizationIdentifier(String federatedOrganizationIdentifier)
    • getFederatedOrganizationIdentifier

      @Nonnull @NotNull public @NotNull String getFederatedOrganizationIdentifier()
      The auth realm owner ID
      Returns:
      federatedOrganizationIdentifier
    • setFederatedOrganizationIdentifier

      public void setFederatedOrganizationIdentifier(String federatedOrganizationIdentifier)
    • federatedOrganizationName

      public PricedSupplierContract federatedOrganizationName(String federatedOrganizationName)
    • getFederatedOrganizationName

      @Nonnull @NotNull public @NotNull String getFederatedOrganizationName()
      The auth realm owner name
      Returns:
      federatedOrganizationName
    • setFederatedOrganizationName

      public void setFederatedOrganizationName(String federatedOrganizationName)
    • user

    • getUser

      @Nonnull @NotNull @Valid public @NotNull @Valid AuthenticatedUser getUser()
      Get user
      Returns:
      user
    • setUser

      public void setUser(AuthenticatedUser user)
    • ipAddress

      public PricedSupplierContract ipAddress(String ipAddress)
    • getIpAddress

      @Nonnull @NotNull public @NotNull String getIpAddress()
      Caller's IP address
      Returns:
      ipAddress
    • setIpAddress

      public void setIpAddress(String ipAddress)
    • traceId

      public PricedSupplierContract traceId(String traceId)
    • getTraceId

      @Nonnull @NotNull public @NotNull String getTraceId()
      Way to track which booking contracts were made together
      Returns:
      traceId
    • setTraceId

      public void setTraceId(String traceId)
    • sourceUrl

      public PricedSupplierContract sourceUrl(String sourceUrl)
    • getSourceUrl

      @Nonnull @NotNull public @NotNull String getSourceUrl()
      Where did the booking occur
      Returns:
      sourceUrl
    • setSourceUrl

      public void setSourceUrl(String sourceUrl)
    • identifier

      public PricedSupplierContract identifier(UUID identifier)
    • getIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getIdentifier()
      Unique identifier used to track the contract. Create a UUID for this purpose.
      Returns:
      identifier
    • setIdentifier

      public void setIdentifier(UUID identifier)
    • supplierIdentifier

      public PricedSupplierContract supplierIdentifier(UUID supplierIdentifier)
    • getSupplierIdentifier

      @Nonnull @NotNull @Valid public @NotNull @Valid UUID getSupplierIdentifier()
      Supplier identifier
      Returns:
      supplierIdentifier
    • setSupplierIdentifier

      public void setSupplierIdentifier(UUID supplierIdentifier)
    • supplierName

      public PricedSupplierContract supplierName(String supplierName)
    • getSupplierName

      @Nonnull @NotNull public @NotNull String getSupplierName()
      Supplier name
      Returns:
      supplierName
    • setSupplierName

      public void setSupplierName(String supplierName)
    • displayPriceQuote

      public PricedSupplierContract displayPriceQuote(Quote displayPriceQuote)
    • getDisplayPriceQuote

      @Nonnull @NotNull @Valid public @NotNull @Valid Quote getDisplayPriceQuote()
      Get displayPriceQuote
      Returns:
      displayPriceQuote
    • setDisplayPriceQuote

      public void setDisplayPriceQuote(Quote displayPriceQuote)
    • supplierPriceQuote

      public PricedSupplierContract supplierPriceQuote(Quote supplierPriceQuote)
    • getSupplierPriceQuote

      @Nonnull @NotNull @Valid public @NotNull @Valid Quote getSupplierPriceQuote()
      Get supplierPriceQuote
      Returns:
      supplierPriceQuote
    • setSupplierPriceQuote

      public void setSupplierPriceQuote(Quote supplierPriceQuote)
    • internalPriceQuote

      public PricedSupplierContract internalPriceQuote(Quote internalPriceQuote)
    • getInternalPriceQuote

      @Nonnull @NotNull @Valid public @NotNull @Valid Quote getInternalPriceQuote()
      Get internalPriceQuote
      Returns:
      internalPriceQuote
    • setInternalPriceQuote

      public void setInternalPriceQuote(Quote internalPriceQuote)
    • getItemList

      @Nonnull @Valid @Size(min=1, max=2147483647) public @Valid @Size(min=1,max=2147483647) List<PricedSupplierContractItem> getItemList()
      Get itemList
      Returns:
      itemList
    • acquirerList

      public PricedSupplierContract acquirerList(List<Acquirer> acquirerList)
    • addAcquirerListItem

      public PricedSupplierContract addAcquirerListItem(Acquirer acquirerListItem)
    • getAcquirerList

      @Nonnull @NotNull @Valid @Size(min=1, max=2147483647) public @NotNull @Valid @Size(min=1,max=2147483647) List<Acquirer> getAcquirerList()
      Get acquirerList
      Returns:
      acquirerList
    • setAcquirerList

      public void setAcquirerList(List<Acquirer> acquirerList)
    • externalSupplierIdentifier

      public PricedSupplierContract externalSupplierIdentifier(String externalSupplierIdentifier)
    • getExternalSupplierIdentifier

      @Nonnull @NotNull public @NotNull String getExternalSupplierIdentifier()
      Track supplier with its external supplier identifier
      Returns:
      externalSupplierIdentifier
    • setExternalSupplierIdentifier

      public void setExternalSupplierIdentifier(String externalSupplierIdentifier)
    • externalSupplierBookingCode

      public PricedSupplierContract externalSupplierBookingCode(String externalSupplierBookingCode)
    • getExternalSupplierBookingCode

      @Nonnull @NotNull public @NotNull String getExternalSupplierBookingCode()
      External booking code generated by the affiliate
      Returns:
      externalSupplierBookingCode
    • setExternalSupplierBookingCode

      public void setExternalSupplierBookingCode(String externalSupplierBookingCode)
    • externalTransactionIdentifier

      public PricedSupplierContract externalTransactionIdentifier(String externalTransactionIdentifier)
    • getExternalTransactionIdentifier

      @Nullable public String getExternalTransactionIdentifier()
      External transaction identifier populated when agent responsible for acquiring
      Returns:
      externalTransactionIdentifier
    • setExternalTransactionIdentifier

      public void setExternalTransactionIdentifier(String externalTransactionIdentifier)
    • metadata

      public PricedSupplierContract metadata(Map<String,String> metadata)
    • putMetadataItem

      public PricedSupplierContract putMetadataItem(String key, String metadataItem)
    • getMetadata

      @Nullable public Map<String,String> getMetadata()
      Place to add more data related to the booking contract.
      Returns:
      metadata
    • setMetadata

      public void setMetadata(Map<String,String> metadata)
    • totalPrice

      public PricedSupplierContract totalPrice(CustomMonetaryAmount totalPrice)
    • getTotalPrice

      @Nullable @Valid public @Valid CustomMonetaryAmount getTotalPrice()
      Get totalPrice
      Returns:
      totalPrice
    • setTotalPrice

      public void setTotalPrice(CustomMonetaryAmount totalPrice)
    • totalDisplayPrice

      public PricedSupplierContract totalDisplayPrice(CustomMonetaryAmount totalDisplayPrice)
    • getTotalDisplayPrice

      @Nullable @Valid public @Valid CustomMonetaryAmount getTotalDisplayPrice()
      Get totalDisplayPrice
      Returns:
      totalDisplayPrice
    • setTotalDisplayPrice

      public void setTotalDisplayPrice(CustomMonetaryAmount totalDisplayPrice)
    • totalSupplierPrice

      public PricedSupplierContract totalSupplierPrice(CustomMonetaryAmount totalSupplierPrice)
    • getTotalSupplierPrice

      @Nullable @Valid public @Valid CustomMonetaryAmount getTotalSupplierPrice()
      Get totalSupplierPrice
      Returns:
      totalSupplierPrice
    • setTotalSupplierPrice

      public void setTotalSupplierPrice(CustomMonetaryAmount totalSupplierPrice)
    • totalInternalPrice

      public PricedSupplierContract totalInternalPrice(CustomMonetaryAmount totalInternalPrice)
    • getTotalInternalPrice

      @Nullable @Valid public @Valid CustomMonetaryAmount getTotalInternalPrice()
      Get totalInternalPrice
      Returns:
      totalInternalPrice
    • setTotalInternalPrice

      public void setTotalInternalPrice(CustomMonetaryAmount totalInternalPrice)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object