Package io.trippay.sdk.payment.model
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of beneficiary payment. -
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 Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountEmail(String accountEmail) accountIdentifier(String accountIdentifier) accountName(String accountName) accountUrl(String accountUrl) captureAmount(Double captureAmount) captureAmountRefundModifier(Double captureAmountRefundModifier) captureCurrency(String captureCurrency) displayAmount(Double displayAmount) displayAmountRefundModifier(Double displayAmountRefundModifier) displayCurrency(String displayCurrency) boolean@NotNull StringaccountEmail of beneficiary that can map to an account with us@NotNull StringaccountIdentifier of beneficiary that can map to an account with us@NotNull StringaccountName of beneficiary that can map to an account with us@NotNull StringaccountUrl of beneficiary that can map to an account with us@NotNull @DecimalMin("0") DoubleAmount in capture currency minimum: 0@NotNull @DecimalMin("0") DoubleThe delta from the original capture amount after a refund occurred minimum: 0@NotNull StringThe capture currency@NotNull @DecimalMin("0") DoubleAmount in display currency minimum: 0@NotNull @DecimalMin("0") DoubleThe delta from the original display amount after a refund occurred minimum: 0@NotNull StringThe display currency@NotNull @DecimalMin("0") DoubleAmount in internal currency minimum: 0@NotNull @DecimalMin("0") DoubleThe delta from the original internal amount after a refund occurred minimum: 0@NotNull StringThe internal currencyGet netCaptureAmountGet netDisplayAmountGet netInternalAmountGet netSourceAmountGet netSupplierAmount@NotNull @DecimalMin("0") DoubleAmount in source currency minimum: 0@NotNull @DecimalMin("0") DoubleThe delta from the original source amount after a refund occurred minimum: 0@NotNull StringThe source currency@NotNull @DecimalMin("0") DoubleAmount in supplier currency minimum: 0@NotNull @DecimalMin("0") DoubleThe delta from the original supplier amount after a refund occurred minimum: 0@NotNull StringThe supplier currency@NotNull Beneficiary.TypeEnumgetType()The type of beneficiary payment.inthashCode()internalAmount(Double internalAmount) internalAmountRefundModifier(Double internalAmountRefundModifier) internalCurrency(String internalCurrency) netCaptureAmount(Double netCaptureAmount) netDisplayAmount(Double netDisplayAmount) netInternalAmount(Double netInternalAmount) netSourceAmount(Double netSourceAmount) netSupplierAmount(Double netSupplierAmount) voidsetAccountEmail(String accountEmail) voidsetAccountIdentifier(String accountIdentifier) voidsetAccountName(String accountName) voidsetAccountUrl(String accountUrl) voidsetCaptureAmount(Double captureAmount) voidsetCaptureAmountRefundModifier(Double captureAmountRefundModifier) voidsetCaptureCurrency(String captureCurrency) voidsetDisplayAmount(Double displayAmount) voidsetDisplayAmountRefundModifier(Double displayAmountRefundModifier) voidsetDisplayCurrency(String displayCurrency) voidsetInternalAmount(Double internalAmount) voidsetInternalAmountRefundModifier(Double internalAmountRefundModifier) voidsetInternalCurrency(String internalCurrency) voidsetNetCaptureAmount(Double netCaptureAmount) voidsetNetDisplayAmount(Double netDisplayAmount) voidsetNetInternalAmount(Double netInternalAmount) voidsetNetSourceAmount(Double netSourceAmount) voidsetNetSupplierAmount(Double netSupplierAmount) voidsetSourceAmount(Double sourceAmount) voidsetSourceAmountRefundModifier(Double sourceAmountRefundModifier) voidsetSourceCurrency(String sourceCurrency) voidsetSupplierAmount(Double supplierAmount) voidsetSupplierAmountRefundModifier(Double supplierAmountRefundModifier) voidsetSupplierCurrency(String supplierCurrency) voidsetType(Beneficiary.TypeEnum type) sourceAmount(Double sourceAmount) sourceAmountRefundModifier(Double sourceAmountRefundModifier) sourceCurrency(String sourceCurrency) supplierAmount(Double supplierAmount) supplierAmountRefundModifier(Double supplierAmountRefundModifier) supplierCurrency(String supplierCurrency) toString()type(Beneficiary.TypeEnum type)
-
Field Details
-
JSON_PROPERTY_ACCOUNT_IDENTIFIER
- See Also:
-
JSON_PROPERTY_ACCOUNT_NAME
- See Also:
-
JSON_PROPERTY_ACCOUNT_EMAIL
- See Also:
-
JSON_PROPERTY_ACCOUNT_URL
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_SOURCE_CURRENCY
- See Also:
-
JSON_PROPERTY_DISPLAY_CURRENCY
- See Also:
-
JSON_PROPERTY_SUPPLIER_CURRENCY
- See Also:
-
JSON_PROPERTY_INTERNAL_CURRENCY
- See Also:
-
JSON_PROPERTY_CAPTURE_CURRENCY
- See Also:
-
JSON_PROPERTY_SOURCE_AMOUNT
- See Also:
-
JSON_PROPERTY_DISPLAY_AMOUNT
- See Also:
-
JSON_PROPERTY_SUPPLIER_AMOUNT
- See Also:
-
JSON_PROPERTY_INTERNAL_AMOUNT
- See Also:
-
JSON_PROPERTY_CAPTURE_AMOUNT
- See Also:
-
JSON_PROPERTY_SOURCE_AMOUNT_REFUND_MODIFIER
- See Also:
-
JSON_PROPERTY_DISPLAY_AMOUNT_REFUND_MODIFIER
- See Also:
-
JSON_PROPERTY_SUPPLIER_AMOUNT_REFUND_MODIFIER
- See Also:
-
JSON_PROPERTY_INTERNAL_AMOUNT_REFUND_MODIFIER
- See Also:
-
JSON_PROPERTY_CAPTURE_AMOUNT_REFUND_MODIFIER
- See Also:
-
JSON_PROPERTY_NET_CAPTURE_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_SUPPLIER_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_SOURCE_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_DISPLAY_AMOUNT
- See Also:
-
JSON_PROPERTY_NET_INTERNAL_AMOUNT
- See Also:
-
-
Constructor Details
-
Beneficiary
public Beneficiary()
-
-
Method Details
-
accountIdentifier
-
getAccountIdentifier
accountIdentifier of beneficiary that can map to an account with us- Returns:
- accountIdentifier
-
setAccountIdentifier
-
accountName
-
getAccountName
accountName of beneficiary that can map to an account with us- Returns:
- accountName
-
setAccountName
-
accountEmail
-
getAccountEmail
accountEmail of beneficiary that can map to an account with us- Returns:
- accountEmail
-
setAccountEmail
-
accountUrl
-
getAccountUrl
accountUrl of beneficiary that can map to an account with us- Returns:
- accountUrl
-
setAccountUrl
-
type
-
getType
The type of beneficiary payment.- Returns:
- type
-
setType
-
sourceCurrency
-
getSourceCurrency
The source currency- Returns:
- sourceCurrency
-
setSourceCurrency
-
displayCurrency
-
getDisplayCurrency
The display currency- Returns:
- displayCurrency
-
setDisplayCurrency
-
supplierCurrency
-
getSupplierCurrency
The supplier currency- Returns:
- supplierCurrency
-
setSupplierCurrency
-
internalCurrency
-
getInternalCurrency
The internal currency- Returns:
- internalCurrency
-
setInternalCurrency
-
captureCurrency
-
getCaptureCurrency
The capture currency- Returns:
- captureCurrency
-
setCaptureCurrency
-
sourceAmount
-
getSourceAmount
Amount in source currency minimum: 0- Returns:
- sourceAmount
-
setSourceAmount
-
displayAmount
-
getDisplayAmount
Amount in display currency minimum: 0- Returns:
- displayAmount
-
setDisplayAmount
-
supplierAmount
-
getSupplierAmount
Amount in supplier currency minimum: 0- Returns:
- supplierAmount
-
setSupplierAmount
-
internalAmount
-
getInternalAmount
Amount in internal currency minimum: 0- Returns:
- internalAmount
-
setInternalAmount
-
captureAmount
-
getCaptureAmount
Amount in capture currency minimum: 0- Returns:
- captureAmount
-
setCaptureAmount
-
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
-
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
-
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
-
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
-
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
-
netCaptureAmount
-
getNetCaptureAmount
Get netCaptureAmount- Returns:
- netCaptureAmount
-
setNetCaptureAmount
-
netSupplierAmount
-
getNetSupplierAmount
Get netSupplierAmount- Returns:
- netSupplierAmount
-
setNetSupplierAmount
-
netSourceAmount
-
getNetSourceAmount
Get netSourceAmount- Returns:
- netSourceAmount
-
setNetSourceAmount
-
netDisplayAmount
-
getNetDisplayAmount
Get netDisplayAmount- Returns:
- netDisplayAmount
-
setNetDisplayAmount
-
netInternalAmount
-
getNetInternalAmount
Get netInternalAmount- Returns:
- netInternalAmount
-
setNetInternalAmount
-
equals
-
hashCode
public int hashCode() -
toString
-