Class PayableContractResponse

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-06-26T20:12:05.578754358+07:00[Asia/Bangkok]", comments="Generator version: 7.13.0") public class PayableContractResponse extends Object
Details of the booking entries that went in for one particular supplier directly.
  • Field Details

  • Constructor Details

    • PayableContractResponse

      public PayableContractResponse()
  • Method Details

    • id

      public PayableContractResponse id(@Nonnull String id)
    • getId

      @Nonnull @NotNull public @NotNull String getId()
      TripPay supplierContractIdentifier for reactive widget
      Returns:
      id
    • setId

      public void setId(@Nonnull String id)
    • traceId

      public PayableContractResponse traceId(@Nullable String traceId)
    • getTraceId

      @Nullable public String getTraceId()
      Groups all booking contracts submitted at the same time
      Returns:
      traceId
    • setTraceId

      public void setTraceId(@Nullable String traceId)
    • supplierContractIdentifier

      public PayableContractResponse supplierContractIdentifier(@Nonnull UUID supplierContractIdentifier)
    • getSupplierContractIdentifier

      @Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) UUID getSupplierContractIdentifier()
      Unique supplierContractIdentifier used to track the contract. Create a UUID for this purpose.
      Returns:
      supplierContractIdentifier
    • setSupplierContractIdentifier

      public void setSupplierContractIdentifier(@Nonnull UUID supplierContractIdentifier)
    • supplierIdentifier

      public PayableContractResponse supplierIdentifier(@Nonnull UUID supplierIdentifier)
    • getSupplierIdentifier

      @Nonnull @NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) UUID getSupplierIdentifier()
      Supplier supplierContractIdentifier
      Returns:
      supplierIdentifier
    • setSupplierIdentifier

      public void setSupplierIdentifier(@Nonnull UUID supplierIdentifier)
    • supplierName

      public PayableContractResponse supplierName(@Nonnull String supplierName)
    • getSupplierName

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getSupplierName()
      Supplier name
      Returns:
      supplierName
    • setSupplierName

      public void setSupplierName(@Nonnull String supplierName)
    • externalSupplierIdentifier

      public PayableContractResponse externalSupplierIdentifier(@Nonnull String externalSupplierIdentifier)
    • getExternalSupplierIdentifier

      @Nonnull @NotNull @Size(min=1) public @NotNull @Size(min=1) String getExternalSupplierIdentifier()
      Track supplier with its external supplier supplierContractIdentifier
      Returns:
      externalSupplierIdentifier
    • setExternalSupplierIdentifier

      public void setExternalSupplierIdentifier(@Nonnull String externalSupplierIdentifier)
    • externalSupplierBookingCode

      public PayableContractResponse externalSupplierBookingCode(@Nonnull String externalSupplierBookingCode)
    • getExternalSupplierBookingCode

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

      public void setExternalSupplierBookingCode(@Nonnull String externalSupplierBookingCode)
    • externalTransactionIdentifier

      public PayableContractResponse externalTransactionIdentifier(@Nullable String externalTransactionIdentifier)
    • getExternalTransactionIdentifier

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

      public void setExternalTransactionIdentifier(@Nullable String externalTransactionIdentifier)
    • totalPrice

      public PayableContractResponse totalPrice(@Nonnull CustomMonetaryAmount totalPrice)
    • getTotalPrice

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

      public void setTotalPrice(@Nonnull CustomMonetaryAmount totalPrice)
    • totalDisplayPrice

      public PayableContractResponse totalDisplayPrice(@Nonnull CustomMonetaryAmount totalDisplayPrice)
    • getTotalDisplayPrice

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

      public void setTotalDisplayPrice(@Nonnull CustomMonetaryAmount totalDisplayPrice)
    • totalSupplierPrice

      public PayableContractResponse totalSupplierPrice(@Nonnull CustomMonetaryAmount totalSupplierPrice)
    • getTotalSupplierPrice

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

      public void setTotalSupplierPrice(@Nonnull CustomMonetaryAmount totalSupplierPrice)
    • totalInternalPrice

      public PayableContractResponse totalInternalPrice(@Nonnull CustomMonetaryAmount totalInternalPrice)
    • getTotalInternalPrice

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

      public void setTotalInternalPrice(@Nonnull CustomMonetaryAmount totalInternalPrice)
    • totalCapturePrice

      public PayableContractResponse totalCapturePrice(@Nonnull CustomMonetaryAmount totalCapturePrice)
    • getTotalCapturePrice

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

      public void setTotalCapturePrice(@Nonnull 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