Class PricedSupplierContractWithAcquirer

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-04-12T15:09:05.445923493+07:00[Asia/Bangkok]") public class PricedSupplierContractWithAcquirer extends Object
Details of the booking entries that went in for one particular supplier directly.
  • Field Details

  • Constructor Details

    • PricedSupplierContractWithAcquirer

      public PricedSupplierContractWithAcquirer()
    • PricedSupplierContractWithAcquirer

      public PricedSupplierContractWithAcquirer(List<PricedSupplierContractItemWithAcquirer> itemList)
  • Method Details

    • federatedOrganizationIdentifier

      public PricedSupplierContractWithAcquirer 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 PricedSupplierContractWithAcquirer 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 PricedSupplierContractWithAcquirer ipAddress(String ipAddress)
    • getIpAddress

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

      public void setIpAddress(String ipAddress)
    • traceId

      public PricedSupplierContractWithAcquirer 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 PricedSupplierContractWithAcquirer 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 PricedSupplierContractWithAcquirer 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 PricedSupplierContractWithAcquirer supplierIdentifier(UUID supplierIdentifier)
    • getSupplierIdentifier

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

      public void setSupplierIdentifier(UUID supplierIdentifier)
    • supplierName

      public PricedSupplierContractWithAcquirer supplierName(String supplierName)
    • getSupplierName

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

      public void setSupplierName(String supplierName)
    • displayPriceQuote

      public PricedSupplierContractWithAcquirer displayPriceQuote(Quote displayPriceQuote)
    • getDisplayPriceQuote

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

      public void setDisplayPriceQuote(Quote displayPriceQuote)
    • supplierPriceQuote

      public PricedSupplierContractWithAcquirer supplierPriceQuote(Quote supplierPriceQuote)
    • getSupplierPriceQuote

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

      public void setSupplierPriceQuote(Quote supplierPriceQuote)
    • internalPriceQuote

      public PricedSupplierContractWithAcquirer internalPriceQuote(Quote internalPriceQuote)
    • getInternalPriceQuote

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

      public void setInternalPriceQuote(Quote internalPriceQuote)
    • capturePriceQuote

      public PricedSupplierContractWithAcquirer capturePriceQuote(Quote capturePriceQuote)
    • getCapturePriceQuote

      @Nonnull @NotNull @Valid public @NotNull @Valid Quote getCapturePriceQuote()
      Get capturePriceQuote
      Returns:
      capturePriceQuote
    • setCapturePriceQuote

      public void setCapturePriceQuote(Quote capturePriceQuote)
    • getItemList

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

      public PricedSupplierContractWithAcquirer acquirer(List<Acquirer> acquirer)
    • addAcquirerItem

      public PricedSupplierContractWithAcquirer addAcquirerItem(Acquirer acquirerItem)
    • getAcquirer

      @Nonnull @NotNull @Valid public @NotNull @Valid List<Acquirer> getAcquirer()
      Get acquirer
      Returns:
      acquirer
    • setAcquirer

      public void setAcquirer(List<Acquirer> acquirer)
    • externalSupplierIdentifier

      public PricedSupplierContractWithAcquirer 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 PricedSupplierContractWithAcquirer 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 PricedSupplierContractWithAcquirer externalTransactionIdentifier(String externalTransactionIdentifier)
    • getExternalTransactionIdentifier

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

      public void setExternalTransactionIdentifier(String externalTransactionIdentifier)
    • metadata

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

      public PricedSupplierContractWithAcquirer 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

    • getTotalPrice

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

      public void setTotalPrice(CustomMonetaryAmount totalPrice)
    • totalDisplayPrice

      public PricedSupplierContractWithAcquirer totalDisplayPrice(CustomMonetaryAmount totalDisplayPrice)
    • getTotalDisplayPrice

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

      public void setTotalDisplayPrice(CustomMonetaryAmount totalDisplayPrice)
    • totalSupplierPrice

      public PricedSupplierContractWithAcquirer totalSupplierPrice(CustomMonetaryAmount totalSupplierPrice)
    • getTotalSupplierPrice

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

      public void setTotalSupplierPrice(CustomMonetaryAmount totalSupplierPrice)
    • totalInternalPrice

      public PricedSupplierContractWithAcquirer totalInternalPrice(CustomMonetaryAmount totalInternalPrice)
    • getTotalInternalPrice

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

      public void setTotalInternalPrice(CustomMonetaryAmount totalInternalPrice)
    • totalCapturePrice

      public PricedSupplierContractWithAcquirer totalCapturePrice(CustomMonetaryAmount totalCapturePrice)
    • getTotalCapturePrice

      @Nullable @Valid public @Valid CustomMonetaryAmount getTotalCapturePrice()
      Get totalCapturePrice
      Returns:
      totalCapturePrice
    • setTotalCapturePrice

      public void setTotalCapturePrice(CustomMonetaryAmount totalCapturePrice)
    • 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