Package io.moov.sdk.models.components
Class CreatedTransfer
- java.lang.Object
-
- io.moov.sdk.models.components.CreatedTransfer
-
public class CreatedTransfer extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreatedTransfer.Builder
-
Constructor Summary
Constructors Constructor Description CreatedTransfer(java.lang.String transferID, java.time.OffsetDateTime createdOn)CreatedTransfer(java.lang.String transferID, java.time.OffsetDateTime createdOn, java.util.Optional<? extends TransferSource> source, java.util.Optional<? extends TransferDestination> destination, java.util.Optional<java.time.OffsetDateTime> completedOn, java.util.Optional<? extends TransferStatus> status, java.util.Optional<? extends TransferFailureReason> failureReason, java.util.Optional<? extends Amount> amount, java.util.Optional<java.lang.String> description, java.util.Optional<? extends java.util.Map<java.lang.String,java.lang.String>> metadata, java.util.Optional<? extends FacilitatorFee> facilitatorFee, java.util.Optional<java.lang.Long> moovFee, java.util.Optional<java.lang.String> moovFeeDecimal, java.util.Optional<? extends MoovFeeDetails> moovFeeDetails, java.util.Optional<java.lang.String> groupID, java.util.Optional<? extends java.util.List<Cancellation>> cancellations, java.util.Optional<? extends Amount> refundedAmount, java.util.Optional<? extends java.util.List<CardAcquiringRefund>> refunds, java.util.Optional<? extends Amount> disputedAmount, java.util.Optional<? extends java.util.List<CardAcquiringDispute>> disputes, java.util.Optional<java.lang.String> sweepID, java.util.Optional<java.lang.String> scheduleID, java.util.Optional<java.lang.String> occurrenceID, java.util.Optional<java.lang.String> paymentLinkCode, java.util.Optional<? extends Amount> salesTaxAmount)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<Amount>amount()static CreatedTransfer.Builderbuilder()java.util.Optional<java.util.List<Cancellation>>cancellations()java.util.Optional<java.time.OffsetDateTime>completedOn()java.time.OffsetDateTimecreatedOn()java.util.Optional<java.lang.String>description()An optional description of the transfer that is used on receipts and for your own internal use.java.util.Optional<TransferDestination>destination()java.util.Optional<Amount>disputedAmount()java.util.Optional<java.util.List<CardAcquiringDispute>>disputes()booleanequals(java.lang.Object o)java.util.Optional<FacilitatorFee>facilitatorFee()Total or markup fee.java.util.Optional<TransferFailureReason>failureReason()Reason for a transfer's failure.java.util.Optional<java.lang.String>groupID()inthashCode()java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>metadata()Free-form key-value pair list.java.util.Optional<java.lang.Long>moovFee()Fees charged to your platform account for transfers.java.util.Optional<java.lang.String>moovFeeDecimal()Same as `moovFee`, but a decimal-formatted numerical string that represents up to 9 decimal place precision.java.util.Optional<MoovFeeDetails>moovFeeDetails()Processing and pass-through costs that add up to the moovFee.java.util.Optional<java.lang.String>occurrenceID()java.util.Optional<java.lang.String>paymentLinkCode()java.util.Optional<Amount>refundedAmount()java.util.Optional<java.util.List<CardAcquiringRefund>>refunds()java.util.Optional<Amount>salesTaxAmount()Optional sales tax amount.java.util.Optional<java.lang.String>scheduleID()java.util.Optional<TransferSource>source()java.util.Optional<TransferStatus>status()Status of a transfer.java.util.Optional<java.lang.String>sweepID()java.lang.StringtoString()java.lang.StringtransferID()CreatedTransferwithAmount(Amount amount)CreatedTransferwithAmount(java.util.Optional<? extends Amount> amount)CreatedTransferwithCancellations(java.util.List<Cancellation> cancellations)CreatedTransferwithCancellations(java.util.Optional<? extends java.util.List<Cancellation>> cancellations)CreatedTransferwithCompletedOn(java.time.OffsetDateTime completedOn)CreatedTransferwithCompletedOn(java.util.Optional<java.time.OffsetDateTime> completedOn)CreatedTransferwithCreatedOn(java.time.OffsetDateTime createdOn)CreatedTransferwithDescription(java.lang.String description)An optional description of the transfer that is used on receipts and for your own internal use.CreatedTransferwithDescription(java.util.Optional<java.lang.String> description)An optional description of the transfer that is used on receipts and for your own internal use.CreatedTransferwithDestination(TransferDestination destination)CreatedTransferwithDestination(java.util.Optional<? extends TransferDestination> destination)CreatedTransferwithDisputedAmount(Amount disputedAmount)CreatedTransferwithDisputedAmount(java.util.Optional<? extends Amount> disputedAmount)CreatedTransferwithDisputes(java.util.List<CardAcquiringDispute> disputes)CreatedTransferwithDisputes(java.util.Optional<? extends java.util.List<CardAcquiringDispute>> disputes)CreatedTransferwithFacilitatorFee(FacilitatorFee facilitatorFee)Total or markup fee.CreatedTransferwithFacilitatorFee(java.util.Optional<? extends FacilitatorFee> facilitatorFee)Total or markup fee.CreatedTransferwithFailureReason(TransferFailureReason failureReason)Reason for a transfer's failure.CreatedTransferwithFailureReason(java.util.Optional<? extends TransferFailureReason> failureReason)Reason for a transfer's failure.CreatedTransferwithGroupID(java.lang.String groupID)CreatedTransferwithGroupID(java.util.Optional<java.lang.String> groupID)CreatedTransferwithMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)Free-form key-value pair list.CreatedTransferwithMetadata(java.util.Optional<? extends java.util.Map<java.lang.String,java.lang.String>> metadata)Free-form key-value pair list.CreatedTransferwithMoovFee(long moovFee)Fees charged to your platform account for transfers.CreatedTransferwithMoovFee(java.util.Optional<java.lang.Long> moovFee)Fees charged to your platform account for transfers.CreatedTransferwithMoovFeeDecimal(java.lang.String moovFeeDecimal)Same as `moovFee`, but a decimal-formatted numerical string that represents up to 9 decimal place precision.CreatedTransferwithMoovFeeDecimal(java.util.Optional<java.lang.String> moovFeeDecimal)Same as `moovFee`, but a decimal-formatted numerical string that represents up to 9 decimal place precision.CreatedTransferwithMoovFeeDetails(MoovFeeDetails moovFeeDetails)Processing and pass-through costs that add up to the moovFee.CreatedTransferwithMoovFeeDetails(java.util.Optional<? extends MoovFeeDetails> moovFeeDetails)Processing and pass-through costs that add up to the moovFee.CreatedTransferwithOccurrenceID(java.lang.String occurrenceID)CreatedTransferwithOccurrenceID(java.util.Optional<java.lang.String> occurrenceID)CreatedTransferwithPaymentLinkCode(java.lang.String paymentLinkCode)CreatedTransferwithPaymentLinkCode(java.util.Optional<java.lang.String> paymentLinkCode)CreatedTransferwithRefundedAmount(Amount refundedAmount)CreatedTransferwithRefundedAmount(java.util.Optional<? extends Amount> refundedAmount)CreatedTransferwithRefunds(java.util.List<CardAcquiringRefund> refunds)CreatedTransferwithRefunds(java.util.Optional<? extends java.util.List<CardAcquiringRefund>> refunds)CreatedTransferwithSalesTaxAmount(Amount salesTaxAmount)Optional sales tax amount.CreatedTransferwithSalesTaxAmount(java.util.Optional<? extends Amount> salesTaxAmount)Optional sales tax amount.CreatedTransferwithScheduleID(java.lang.String scheduleID)CreatedTransferwithScheduleID(java.util.Optional<java.lang.String> scheduleID)CreatedTransferwithSource(TransferSource source)CreatedTransferwithSource(java.util.Optional<? extends TransferSource> source)CreatedTransferwithStatus(TransferStatus status)Status of a transfer.CreatedTransferwithStatus(java.util.Optional<? extends TransferStatus> status)Status of a transfer.CreatedTransferwithSweepID(java.lang.String sweepID)CreatedTransferwithSweepID(java.util.Optional<java.lang.String> sweepID)CreatedTransferwithTransferID(java.lang.String transferID)
-
-
-
Constructor Detail
-
CreatedTransfer
public CreatedTransfer(java.lang.String transferID, java.time.OffsetDateTime createdOn, java.util.Optional<? extends TransferSource> source, java.util.Optional<? extends TransferDestination> destination, java.util.Optional<java.time.OffsetDateTime> completedOn, java.util.Optional<? extends TransferStatus> status, java.util.Optional<? extends TransferFailureReason> failureReason, java.util.Optional<? extends Amount> amount, java.util.Optional<java.lang.String> description, java.util.Optional<? extends java.util.Map<java.lang.String,java.lang.String>> metadata, java.util.Optional<? extends FacilitatorFee> facilitatorFee, java.util.Optional<java.lang.Long> moovFee, java.util.Optional<java.lang.String> moovFeeDecimal, java.util.Optional<? extends MoovFeeDetails> moovFeeDetails, java.util.Optional<java.lang.String> groupID, java.util.Optional<? extends java.util.List<Cancellation>> cancellations, java.util.Optional<? extends Amount> refundedAmount, java.util.Optional<? extends java.util.List<CardAcquiringRefund>> refunds, java.util.Optional<? extends Amount> disputedAmount, java.util.Optional<? extends java.util.List<CardAcquiringDispute>> disputes, java.util.Optional<java.lang.String> sweepID, java.util.Optional<java.lang.String> scheduleID, java.util.Optional<java.lang.String> occurrenceID, java.util.Optional<java.lang.String> paymentLinkCode, java.util.Optional<? extends Amount> salesTaxAmount)
-
CreatedTransfer
public CreatedTransfer(java.lang.String transferID, java.time.OffsetDateTime createdOn)
-
-
Method Detail
-
transferID
public java.lang.String transferID()
-
createdOn
public java.time.OffsetDateTime createdOn()
-
source
public java.util.Optional<TransferSource> source()
-
destination
public java.util.Optional<TransferDestination> destination()
-
completedOn
public java.util.Optional<java.time.OffsetDateTime> completedOn()
-
status
public java.util.Optional<TransferStatus> status()
Status of a transfer.
-
failureReason
public java.util.Optional<TransferFailureReason> failureReason()
Reason for a transfer's failure.
-
amount
public java.util.Optional<Amount> amount()
-
description
public java.util.Optional<java.lang.String> description()
An optional description of the transfer that is used on receipts and for your own internal use.
-
metadata
public java.util.Optional<java.util.Map<java.lang.String,java.lang.String>> metadata()
Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
-
facilitatorFee
public java.util.Optional<FacilitatorFee> facilitatorFee()
Total or markup fee.
-
moovFee
public java.util.Optional<java.lang.Long> moovFee()
Fees charged to your platform account for transfers.
-
moovFeeDecimal
public java.util.Optional<java.lang.String> moovFeeDecimal()
Same as `moovFee`, but a decimal-formatted numerical string that represents up to 9 decimal place precision.
-
moovFeeDetails
public java.util.Optional<MoovFeeDetails> moovFeeDetails()
Processing and pass-through costs that add up to the moovFee.
-
groupID
public java.util.Optional<java.lang.String> groupID()
-
cancellations
public java.util.Optional<java.util.List<Cancellation>> cancellations()
-
refundedAmount
public java.util.Optional<Amount> refundedAmount()
-
refunds
public java.util.Optional<java.util.List<CardAcquiringRefund>> refunds()
-
disputedAmount
public java.util.Optional<Amount> disputedAmount()
-
disputes
public java.util.Optional<java.util.List<CardAcquiringDispute>> disputes()
-
sweepID
public java.util.Optional<java.lang.String> sweepID()
-
scheduleID
public java.util.Optional<java.lang.String> scheduleID()
-
occurrenceID
public java.util.Optional<java.lang.String> occurrenceID()
-
paymentLinkCode
public java.util.Optional<java.lang.String> paymentLinkCode()
-
salesTaxAmount
public java.util.Optional<Amount> salesTaxAmount()
Optional sales tax amount. `transfer.amount.value` should be inclusive of any sales tax and represents the total amount charged.
-
builder
public static final CreatedTransfer.Builder builder()
-
withTransferID
public CreatedTransfer withTransferID(java.lang.String transferID)
-
withCreatedOn
public CreatedTransfer withCreatedOn(java.time.OffsetDateTime createdOn)
-
withSource
public CreatedTransfer withSource(TransferSource source)
-
withSource
public CreatedTransfer withSource(java.util.Optional<? extends TransferSource> source)
-
withDestination
public CreatedTransfer withDestination(TransferDestination destination)
-
withDestination
public CreatedTransfer withDestination(java.util.Optional<? extends TransferDestination> destination)
-
withCompletedOn
public CreatedTransfer withCompletedOn(java.time.OffsetDateTime completedOn)
-
withCompletedOn
public CreatedTransfer withCompletedOn(java.util.Optional<java.time.OffsetDateTime> completedOn)
-
withStatus
public CreatedTransfer withStatus(TransferStatus status)
Status of a transfer.
-
withStatus
public CreatedTransfer withStatus(java.util.Optional<? extends TransferStatus> status)
Status of a transfer.
-
withFailureReason
public CreatedTransfer withFailureReason(TransferFailureReason failureReason)
Reason for a transfer's failure.
-
withFailureReason
public CreatedTransfer withFailureReason(java.util.Optional<? extends TransferFailureReason> failureReason)
Reason for a transfer's failure.
-
withAmount
public CreatedTransfer withAmount(Amount amount)
-
withAmount
public CreatedTransfer withAmount(java.util.Optional<? extends Amount> amount)
-
withDescription
public CreatedTransfer withDescription(java.lang.String description)
An optional description of the transfer that is used on receipts and for your own internal use.
-
withDescription
public CreatedTransfer withDescription(java.util.Optional<java.lang.String> description)
An optional description of the transfer that is used on receipts and for your own internal use.
-
withMetadata
public CreatedTransfer withMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)
Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
-
withMetadata
public CreatedTransfer withMetadata(java.util.Optional<? extends java.util.Map<java.lang.String,java.lang.String>> metadata)
Free-form key-value pair list. Useful for storing information that is not captured elsewhere.
-
withFacilitatorFee
public CreatedTransfer withFacilitatorFee(FacilitatorFee facilitatorFee)
Total or markup fee.
-
withFacilitatorFee
public CreatedTransfer withFacilitatorFee(java.util.Optional<? extends FacilitatorFee> facilitatorFee)
Total or markup fee.
-
withMoovFee
public CreatedTransfer withMoovFee(long moovFee)
Fees charged to your platform account for transfers.
-
withMoovFee
public CreatedTransfer withMoovFee(java.util.Optional<java.lang.Long> moovFee)
Fees charged to your platform account for transfers.
-
withMoovFeeDecimal
public CreatedTransfer withMoovFeeDecimal(java.lang.String moovFeeDecimal)
Same as `moovFee`, but a decimal-formatted numerical string that represents up to 9 decimal place precision.
-
withMoovFeeDecimal
public CreatedTransfer withMoovFeeDecimal(java.util.Optional<java.lang.String> moovFeeDecimal)
Same as `moovFee`, but a decimal-formatted numerical string that represents up to 9 decimal place precision.
-
withMoovFeeDetails
public CreatedTransfer withMoovFeeDetails(MoovFeeDetails moovFeeDetails)
Processing and pass-through costs that add up to the moovFee.
-
withMoovFeeDetails
public CreatedTransfer withMoovFeeDetails(java.util.Optional<? extends MoovFeeDetails> moovFeeDetails)
Processing and pass-through costs that add up to the moovFee.
-
withGroupID
public CreatedTransfer withGroupID(java.lang.String groupID)
-
withGroupID
public CreatedTransfer withGroupID(java.util.Optional<java.lang.String> groupID)
-
withCancellations
public CreatedTransfer withCancellations(java.util.List<Cancellation> cancellations)
-
withCancellations
public CreatedTransfer withCancellations(java.util.Optional<? extends java.util.List<Cancellation>> cancellations)
-
withRefundedAmount
public CreatedTransfer withRefundedAmount(Amount refundedAmount)
-
withRefundedAmount
public CreatedTransfer withRefundedAmount(java.util.Optional<? extends Amount> refundedAmount)
-
withRefunds
public CreatedTransfer withRefunds(java.util.List<CardAcquiringRefund> refunds)
-
withRefunds
public CreatedTransfer withRefunds(java.util.Optional<? extends java.util.List<CardAcquiringRefund>> refunds)
-
withDisputedAmount
public CreatedTransfer withDisputedAmount(Amount disputedAmount)
-
withDisputedAmount
public CreatedTransfer withDisputedAmount(java.util.Optional<? extends Amount> disputedAmount)
-
withDisputes
public CreatedTransfer withDisputes(java.util.List<CardAcquiringDispute> disputes)
-
withDisputes
public CreatedTransfer withDisputes(java.util.Optional<? extends java.util.List<CardAcquiringDispute>> disputes)
-
withSweepID
public CreatedTransfer withSweepID(java.lang.String sweepID)
-
withSweepID
public CreatedTransfer withSweepID(java.util.Optional<java.lang.String> sweepID)
-
withScheduleID
public CreatedTransfer withScheduleID(java.lang.String scheduleID)
-
withScheduleID
public CreatedTransfer withScheduleID(java.util.Optional<java.lang.String> scheduleID)
-
withOccurrenceID
public CreatedTransfer withOccurrenceID(java.lang.String occurrenceID)
-
withOccurrenceID
public CreatedTransfer withOccurrenceID(java.util.Optional<java.lang.String> occurrenceID)
-
withPaymentLinkCode
public CreatedTransfer withPaymentLinkCode(java.lang.String paymentLinkCode)
-
withPaymentLinkCode
public CreatedTransfer withPaymentLinkCode(java.util.Optional<java.lang.String> paymentLinkCode)
-
withSalesTaxAmount
public CreatedTransfer withSalesTaxAmount(Amount salesTaxAmount)
Optional sales tax amount. `transfer.amount.value` should be inclusive of any sales tax and represents the total amount charged.
-
withSalesTaxAmount
public CreatedTransfer withSalesTaxAmount(java.util.Optional<? extends Amount> salesTaxAmount)
Optional sales tax amount. `transfer.amount.value` should be inclusive of any sales tax and represents the total amount charged.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-