Class CreatedTransfer


  • public class CreatedTransfer
    extends java.lang.Object
    • 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()
      • 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()
      • disputedAmount

        public java.util.Optional<Amount> disputedAmount()
      • 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.
      • withTransferID

        public CreatedTransfer withTransferID​(java.lang.String transferID)
      • withCreatedOn

        public CreatedTransfer withCreatedOn​(java.time.OffsetDateTime createdOn)
      • withCompletedOn

        public CreatedTransfer withCompletedOn​(java.time.OffsetDateTime completedOn)
      • withCompletedOn

        public CreatedTransfer withCompletedOn​(java.util.Optional<java.time.OffsetDateTime> completedOn)
      • 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​(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.Optional<? extends java.util.List<Cancellation>> cancellations)
      • withRefundedAmount

        public CreatedTransfer withRefundedAmount​(java.util.Optional<? extends Amount> refundedAmount)
      • withDisputedAmount

        public CreatedTransfer withDisputedAmount​(java.util.Optional<? extends Amount> disputedAmount)
      • 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:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object