Class Beneficiary

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-04-26T14:25:21.883820559+07:00[Asia/Bangkok]") public class Beneficiary extends Object
Beneficiary is a registered account with rights to compensation within a booking.
  • Field Details

  • Constructor Details

    • Beneficiary

      public Beneficiary()
  • Method Details

    • accountIdentifier

      public Beneficiary accountIdentifier(String accountIdentifier)
    • getAccountIdentifier

      @Nonnull @NotNull public @NotNull String getAccountIdentifier()
      accountIdentifier of beneficiary that can map to an account with us
      Returns:
      accountIdentifier
    • setAccountIdentifier

      public void setAccountIdentifier(String accountIdentifier)
    • accountName

      public Beneficiary accountName(String accountName)
    • getAccountName

      @Nonnull @NotNull public @NotNull String getAccountName()
      accountName of beneficiary that can map to an account with us
      Returns:
      accountName
    • setAccountName

      public void setAccountName(String accountName)
    • accountEmail

      public Beneficiary accountEmail(String accountEmail)
    • getAccountEmail

      @Nonnull @NotNull public @NotNull String getAccountEmail()
      accountEmail of beneficiary that can map to an account with us
      Returns:
      accountEmail
    • setAccountEmail

      public void setAccountEmail(String accountEmail)
    • accountUrl

      public Beneficiary accountUrl(String accountUrl)
    • getAccountUrl

      @Nonnull @NotNull public @NotNull String getAccountUrl()
      accountUrl of beneficiary that can map to an account with us
      Returns:
      accountUrl
    • setAccountUrl

      public void setAccountUrl(String accountUrl)
    • type

      public Beneficiary type(Beneficiary.TypeEnum type)
    • getType

      @Nonnull @NotNull public @NotNull Beneficiary.TypeEnum getType()
      The type of beneficiary payment.
      Returns:
      type
    • setType

      public void setType(Beneficiary.TypeEnum type)
    • sourceCurrency

      public Beneficiary sourceCurrency(String sourceCurrency)
    • getSourceCurrency

      @Nonnull @NotNull public @NotNull String getSourceCurrency()
      The source currency
      Returns:
      sourceCurrency
    • setSourceCurrency

      public void setSourceCurrency(String sourceCurrency)
    • displayCurrency

      public Beneficiary displayCurrency(String displayCurrency)
    • getDisplayCurrency

      @Nonnull @NotNull public @NotNull String getDisplayCurrency()
      The display currency
      Returns:
      displayCurrency
    • setDisplayCurrency

      public void setDisplayCurrency(String displayCurrency)
    • supplierCurrency

      public Beneficiary supplierCurrency(String supplierCurrency)
    • getSupplierCurrency

      @Nonnull @NotNull public @NotNull String getSupplierCurrency()
      The supplier currency
      Returns:
      supplierCurrency
    • setSupplierCurrency

      public void setSupplierCurrency(String supplierCurrency)
    • internalCurrency

      public Beneficiary internalCurrency(String internalCurrency)
    • getInternalCurrency

      @Nonnull @NotNull public @NotNull String getInternalCurrency()
      The internal currency
      Returns:
      internalCurrency
    • setInternalCurrency

      public void setInternalCurrency(String internalCurrency)
    • captureCurrency

      public Beneficiary captureCurrency(String captureCurrency)
    • getCaptureCurrency

      @Nonnull @NotNull public @NotNull String getCaptureCurrency()
      The capture currency
      Returns:
      captureCurrency
    • setCaptureCurrency

      public void setCaptureCurrency(String captureCurrency)
    • sourceAmount

      public Beneficiary sourceAmount(Double sourceAmount)
    • getSourceAmount

      @Nonnull @NotNull @DecimalMin("0") public @NotNull @DecimalMin("0") Double getSourceAmount()
      Amount in source currency minimum: 0
      Returns:
      sourceAmount
    • setSourceAmount

      public void setSourceAmount(Double sourceAmount)
    • displayAmount

      public Beneficiary displayAmount(Double displayAmount)
    • getDisplayAmount

      @Nonnull @NotNull @DecimalMin("0") public @NotNull @DecimalMin("0") Double getDisplayAmount()
      Amount in display currency minimum: 0
      Returns:
      displayAmount
    • setDisplayAmount

      public void setDisplayAmount(Double displayAmount)
    • supplierAmount

      public Beneficiary supplierAmount(Double supplierAmount)
    • getSupplierAmount

      @Nonnull @NotNull @DecimalMin("0") public @NotNull @DecimalMin("0") Double getSupplierAmount()
      Amount in supplier currency minimum: 0
      Returns:
      supplierAmount
    • setSupplierAmount

      public void setSupplierAmount(Double supplierAmount)
    • internalAmount

      public Beneficiary internalAmount(Double internalAmount)
    • getInternalAmount

      @Nonnull @NotNull @DecimalMin("0") public @NotNull @DecimalMin("0") Double getInternalAmount()
      Amount in internal currency minimum: 0
      Returns:
      internalAmount
    • setInternalAmount

      public void setInternalAmount(Double internalAmount)
    • captureAmount

      public Beneficiary captureAmount(Double captureAmount)
    • getCaptureAmount

      @Nonnull @NotNull @DecimalMin("0") public @NotNull @DecimalMin("0") Double getCaptureAmount()
      Amount in capture currency minimum: 0
      Returns:
      captureAmount
    • setCaptureAmount

      public void setCaptureAmount(Double captureAmount)
    • sourceAmountRefundModifier

      public Beneficiary sourceAmountRefundModifier(Double sourceAmountRefundModifier)
    • getSourceAmountRefundModifier

      @Nonnull @NotNull @DecimalMin("0") public @NotNull @DecimalMin("0") Double getSourceAmountRefundModifier()
      The delta from the original source amount after a refund occurred minimum: 0
      Returns:
      sourceAmountRefundModifier
    • setSourceAmountRefundModifier

      public void setSourceAmountRefundModifier(Double sourceAmountRefundModifier)
    • displayAmountRefundModifier

      public Beneficiary displayAmountRefundModifier(Double displayAmountRefundModifier)
    • getDisplayAmountRefundModifier

      @Nonnull @NotNull @DecimalMin("0") public @NotNull @DecimalMin("0") Double getDisplayAmountRefundModifier()
      The delta from the original display amount after a refund occurred minimum: 0
      Returns:
      displayAmountRefundModifier
    • setDisplayAmountRefundModifier

      public void setDisplayAmountRefundModifier(Double displayAmountRefundModifier)
    • supplierAmountRefundModifier

      public Beneficiary supplierAmountRefundModifier(Double supplierAmountRefundModifier)
    • getSupplierAmountRefundModifier

      @Nonnull @NotNull @DecimalMin("0") public @NotNull @DecimalMin("0") Double getSupplierAmountRefundModifier()
      The delta from the original supplier amount after a refund occurred minimum: 0
      Returns:
      supplierAmountRefundModifier
    • setSupplierAmountRefundModifier

      public void setSupplierAmountRefundModifier(Double supplierAmountRefundModifier)
    • internalAmountRefundModifier

      public Beneficiary internalAmountRefundModifier(Double internalAmountRefundModifier)
    • getInternalAmountRefundModifier

      @Nonnull @NotNull @DecimalMin("0") public @NotNull @DecimalMin("0") Double getInternalAmountRefundModifier()
      The delta from the original internal amount after a refund occurred minimum: 0
      Returns:
      internalAmountRefundModifier
    • setInternalAmountRefundModifier

      public void setInternalAmountRefundModifier(Double internalAmountRefundModifier)
    • captureAmountRefundModifier

      public Beneficiary captureAmountRefundModifier(Double captureAmountRefundModifier)
    • getCaptureAmountRefundModifier

      @Nonnull @NotNull @DecimalMin("0") public @NotNull @DecimalMin("0") Double getCaptureAmountRefundModifier()
      The delta from the original capture amount after a refund occurred minimum: 0
      Returns:
      captureAmountRefundModifier
    • setCaptureAmountRefundModifier

      public void setCaptureAmountRefundModifier(Double captureAmountRefundModifier)
    • netCaptureAmount

      public Beneficiary netCaptureAmount(Double netCaptureAmount)
    • getNetCaptureAmount

      @Nullable public Double getNetCaptureAmount()
      Get netCaptureAmount
      Returns:
      netCaptureAmount
    • setNetCaptureAmount

      public void setNetCaptureAmount(Double netCaptureAmount)
    • netSupplierAmount

      public Beneficiary netSupplierAmount(Double netSupplierAmount)
    • getNetSupplierAmount

      @Nullable public Double getNetSupplierAmount()
      Get netSupplierAmount
      Returns:
      netSupplierAmount
    • setNetSupplierAmount

      public void setNetSupplierAmount(Double netSupplierAmount)
    • netSourceAmount

      public Beneficiary netSourceAmount(Double netSourceAmount)
    • getNetSourceAmount

      @Nullable public Double getNetSourceAmount()
      Get netSourceAmount
      Returns:
      netSourceAmount
    • setNetSourceAmount

      public void setNetSourceAmount(Double netSourceAmount)
    • netDisplayAmount

      public Beneficiary netDisplayAmount(Double netDisplayAmount)
    • getNetDisplayAmount

      @Nullable public Double getNetDisplayAmount()
      Get netDisplayAmount
      Returns:
      netDisplayAmount
    • setNetDisplayAmount

      public void setNetDisplayAmount(Double netDisplayAmount)
    • netInternalAmount

      public Beneficiary netInternalAmount(Double netInternalAmount)
    • getNetInternalAmount

      @Nullable public Double getNetInternalAmount()
      Get netInternalAmount
      Returns:
      netInternalAmount
    • setNetInternalAmount

      public void setNetInternalAmount(Double netInternalAmount)
    • 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