Package io.trippay.sdk.payment.model
Class PendingRefund
java.lang.Object
io.trippay.sdk.payment.model.PendingRefund
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-08-12T10:13:49.239999511+07:00[Asia/Bangkok]")
public class PendingRefund
extends Object
When a refund is first requested, it ends up here. Once it is applied, it moves out of this list and into the parent modifier property
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncaptureAmountRefundModifier(BigDecimal captureAmountRefundModifier) displayAmountRefundModifier(BigDecimal displayAmountRefundModifier) boolean@NotNull @Valid @DecimalMin("0") BigDecimalThe delta from the original capture amount after a refund occurred minimum: 0@NotNull @Valid @DecimalMin("0") BigDecimalThe delta from the original display amount after a refund occurred minimum: 0@NotNull @Valid @DecimalMin("0") BigDecimalThe delta from the original internal amount after a refund occurred minimum: 0@NotNull StringThis is the refund identifier located on the root bookingContract.refunds object@NotNull @Valid @DecimalMin("0") BigDecimalThe delta from the original source amount after a refund occurred minimum: 0@NotNull @Valid @DecimalMin("0") BigDecimalThe delta from the original supplier amount after a refund occurred minimum: 0inthashCode()internalAmountRefundModifier(BigDecimal internalAmountRefundModifier) refundIdentifier(String refundIdentifier) voidsetCaptureAmountRefundModifier(BigDecimal captureAmountRefundModifier) voidsetDisplayAmountRefundModifier(BigDecimal displayAmountRefundModifier) voidsetInternalAmountRefundModifier(BigDecimal internalAmountRefundModifier) voidsetRefundIdentifier(String refundIdentifier) voidsetSourceAmountRefundModifier(BigDecimal sourceAmountRefundModifier) voidsetSupplierAmountRefundModifier(BigDecimal supplierAmountRefundModifier) sourceAmountRefundModifier(BigDecimal sourceAmountRefundModifier) supplierAmountRefundModifier(BigDecimal supplierAmountRefundModifier) toString()
-
Field Details
-
JSON_PROPERTY_REFUND_IDENTIFIER
- 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:
-
-
Constructor Details
-
PendingRefund
public PendingRefund()
-
-
Method Details
-
refundIdentifier
-
getRefundIdentifier
This is the refund identifier located on the root bookingContract.refunds object- Returns:
- refundIdentifier
-
setRefundIdentifier
-
sourceAmountRefundModifier
-
getSourceAmountRefundModifier
@Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getSourceAmountRefundModifier()The delta from the original source amount after a refund occurred minimum: 0- Returns:
- sourceAmountRefundModifier
-
setSourceAmountRefundModifier
-
displayAmountRefundModifier
-
getDisplayAmountRefundModifier
@Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getDisplayAmountRefundModifier()The delta from the original display amount after a refund occurred minimum: 0- Returns:
- displayAmountRefundModifier
-
setDisplayAmountRefundModifier
-
supplierAmountRefundModifier
-
getSupplierAmountRefundModifier
@Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getSupplierAmountRefundModifier()The delta from the original supplier amount after a refund occurred minimum: 0- Returns:
- supplierAmountRefundModifier
-
setSupplierAmountRefundModifier
-
internalAmountRefundModifier
-
getInternalAmountRefundModifier
@Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getInternalAmountRefundModifier()The delta from the original internal amount after a refund occurred minimum: 0- Returns:
- internalAmountRefundModifier
-
setInternalAmountRefundModifier
-
captureAmountRefundModifier
-
getCaptureAmountRefundModifier
@Nonnull @NotNull @Valid @DecimalMin("0") public @NotNull @Valid @DecimalMin("0") BigDecimal getCaptureAmountRefundModifier()The delta from the original capture amount after a refund occurred minimum: 0- Returns:
- captureAmountRefundModifier
-
setCaptureAmountRefundModifier
-
equals
-
hashCode
-
toString
-