Package com.bitpay.sdk.model.Payout
Class PayoutInstruction
- java.lang.Object
-
- com.bitpay.sdk.model.Payout.PayoutInstruction
-
public class PayoutInstruction extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PayoutInstruction()Constructor, create an empty PayoutInstruction object.PayoutInstruction(java.lang.Double amount, int method, java.lang.String methodValue)Constructor, create a PayoutInstruction object.
-
Method Summary
Modifier and Type Method Description java.lang.DoublegetAmount()PayoutInstructionBtcSummarygetBtc()java.lang.StringgetEmail()java.lang.StringgetId()java.lang.StringgetLabel()java.lang.StringgetRecipientId()java.lang.StringgetShopperId()java.lang.StringgetStatus()java.util.List<PayoutInstructionTransaction>getTransactions()java.lang.StringgetWalletProvider()voidsetAmount(java.lang.Double amount)voidsetBtc(PayoutInstructionBtcSummary btc)voidsetEmail(java.lang.String email)voidsetId(java.lang.String id)voidsetLabel(java.lang.String label)voidsetRecipientId(java.lang.String recipientId)voidsetShopperId(java.lang.String shopperId)voidsetStatus(java.lang.String status)voidsetTransactions(java.util.List<PayoutInstructionTransaction> transactions)voidsetWalletProvider(java.lang.String walletProvider)
-
-
-
Constructor Detail
-
PayoutInstruction
public PayoutInstruction()
Constructor, create an empty PayoutInstruction object.
-
PayoutInstruction
public PayoutInstruction(java.lang.Double amount, int method, java.lang.String methodValue) throws PayoutCreationExceptionConstructor, create a PayoutInstruction object.- Parameters:
amount- float amount (in currency of batch).method- int Method used to target the recipient.methodValue- string value for the choosen target method.- Throws:
PayoutCreationException- BitPayException class
-
-
Method Detail
-
getAmount
public java.lang.Double getAmount()
-
setAmount
public void setAmount(java.lang.Double amount)
-
getEmail
public java.lang.String getEmail()
-
setEmail
public void setEmail(java.lang.String email)
-
getRecipientId
public java.lang.String getRecipientId()
-
setRecipientId
public void setRecipientId(java.lang.String recipientId)
-
getShopperId
public java.lang.String getShopperId()
-
setShopperId
public void setShopperId(java.lang.String shopperId)
-
getLabel
public java.lang.String getLabel()
-
setLabel
public void setLabel(java.lang.String label)
-
getWalletProvider
public java.lang.String getWalletProvider()
-
setWalletProvider
public void setWalletProvider(java.lang.String walletProvider)
-
getId
public java.lang.String getId()
-
setId
public void setId(java.lang.String id)
-
getBtc
public PayoutInstructionBtcSummary getBtc()
-
setBtc
public void setBtc(PayoutInstructionBtcSummary btc)
-
getTransactions
public java.util.List<PayoutInstructionTransaction> getTransactions()
-
setTransactions
public void setTransactions(java.util.List<PayoutInstructionTransaction> transactions)
-
getStatus
public java.lang.String getStatus()
-
setStatus
public void setStatus(java.lang.String status)
-
-