Package io.moov.sdk.models.components
Class RunTransfer
- java.lang.Object
-
- io.moov.sdk.models.components.RunTransfer
-
public class RunTransfer extends java.lang.ObjectRunTransferDefines the attributes of a transfer.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRunTransfer.Builder
-
Constructor Summary
Constructors Constructor Description RunTransfer(Amount amount, SchedulePaymentMethod destination, java.lang.String partnerAccountID, SchedulePaymentMethod source, java.lang.String description)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Amountamount()static RunTransfer.Builderbuilder()java.lang.Stringdescription()Simple description to place on the transfer.SchedulePaymentMethoddestination()booleanequals(java.lang.Object o)inthashCode()java.lang.StringpartnerAccountID()SchedulePaymentMethodsource()java.lang.StringtoString()RunTransferwithAmount(Amount amount)RunTransferwithDescription(java.lang.String description)Simple description to place on the transfer.RunTransferwithDestination(SchedulePaymentMethod destination)RunTransferwithPartnerAccountID(java.lang.String partnerAccountID)RunTransferwithSource(SchedulePaymentMethod source)
-
-
-
Constructor Detail
-
RunTransfer
public RunTransfer(Amount amount, SchedulePaymentMethod destination, java.lang.String partnerAccountID, SchedulePaymentMethod source, java.lang.String description)
-
-
Method Detail
-
amount
public Amount amount()
-
destination
public SchedulePaymentMethod destination()
-
partnerAccountID
public java.lang.String partnerAccountID()
-
source
public SchedulePaymentMethod source()
-
description
public java.lang.String description()
Simple description to place on the transfer.
-
builder
public static final RunTransfer.Builder builder()
-
withAmount
public RunTransfer withAmount(Amount amount)
-
withDestination
public RunTransfer withDestination(SchedulePaymentMethod destination)
-
withPartnerAccountID
public RunTransfer withPartnerAccountID(java.lang.String partnerAccountID)
-
withSource
public RunTransfer withSource(SchedulePaymentMethod source)
-
withDescription
public RunTransfer withDescription(java.lang.String description)
Simple description to place on the transfer.
-
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
-
-