Package com.bitpay.sdk.model.Payout
Class PayoutBatch
- java.lang.Object
-
- com.bitpay.sdk.model.Payout.PayoutBatch
-
public class PayoutBatch extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringMethodVwap24
-
Constructor Summary
Constructors Constructor Description PayoutBatch()Constructor, create an empty PayoutBatch object.PayoutBatch(java.lang.String currency, long effectiveDate, java.util.List<PayoutInstruction> instructions)Constructor, create an instruction-full request PayoutBatch object.
-
Method Summary
Modifier and Type Method Description java.lang.StringgetAccount()java.lang.DoublegetAmount()java.lang.DoublegetBtc()java.lang.StringgetCurrency()longgetDateExecuted()java.lang.DoublegetDepositTotal()longgetEffectiveDate()java.lang.DoublegetFee()java.lang.StringgetGuid()java.lang.StringgetId()java.util.List<PayoutInstruction>getInstructions()java.lang.StringgetNotificationEmail()java.lang.StringgetNotificationURL()java.lang.DoublegetPercentFee()java.lang.StringgetPricingMethod()java.lang.DoublegetRate()java.lang.StringgetReference()longgetRequestDate()java.lang.StringgetStatus()java.lang.StringgetSupportPhone()java.lang.StringgetToken()voidsetAccount(java.lang.String account)voidsetAmount(java.lang.Double amount)voidsetBtc(java.lang.Double btc)voidsetCurrency(java.lang.String currency)voidsetDateExecuted(long dateExecuted)voidsetDepositTotal(java.lang.Double depositTotal)voidsetEffectiveDate(long effectiveDate)voidsetFee(java.lang.Double fee)voidsetGuid(java.lang.String guid)voidsetId(java.lang.String id)voidsetInstructions(java.util.List<PayoutInstruction> instructions)voidsetNotificationEmail(java.lang.String notificationEmail)voidsetPercentFee(java.lang.Double percentFee)voidsetPricingMethod(java.lang.String pricingMethod)voidsetRate(java.lang.Double rate)voidsetRedirectURL(java.lang.String notificationUrl)voidsetReference(java.lang.String reference)voidsetRequestDate(long requestDate)voidsetStatus(java.lang.String status)voidsetSupportPhone(java.lang.String supportPhone)voidsetToken(java.lang.String token)
-
-
-
Field Detail
-
MethodVwap24
public static final java.lang.String MethodVwap24
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PayoutBatch
public PayoutBatch()
Constructor, create an empty PayoutBatch object.
-
PayoutBatch
public PayoutBatch(java.lang.String currency, long effectiveDate, java.util.List<PayoutInstruction> instructions)Constructor, create an instruction-full request PayoutBatch object.- Parameters:
currency- The three digit currency string for the PayoutBatch to use.effectiveDate- Date when request is effective. Note that the time of day will automatically be set to 09:00:00.000 UTC time for the given day. Only requests submitted before 09:00:00.000 UTC are guaranteed to be processed on the same day.instructions- Payout instructions.
-
-
Method Detail
-
getGuid
public java.lang.String getGuid()
-
setGuid
public void setGuid(java.lang.String guid)
-
getToken
public java.lang.String getToken()
-
setToken
public void setToken(java.lang.String token)
-
getAmount
public java.lang.Double getAmount()
-
setAmount
public void setAmount(java.lang.Double amount)
-
getCurrency
public java.lang.String getCurrency()
-
setCurrency
public void setCurrency(java.lang.String currency) throws BitPayException- Throws:
BitPayException
-
getEffectiveDate
public long getEffectiveDate()
-
setEffectiveDate
public void setEffectiveDate(long effectiveDate)
-
getInstructions
public java.util.List<PayoutInstruction> getInstructions()
-
setInstructions
public void setInstructions(java.util.List<PayoutInstruction> instructions)
-
getReference
public java.lang.String getReference()
-
setReference
public void setReference(java.lang.String reference)
-
getNotificationEmail
public java.lang.String getNotificationEmail()
-
setNotificationEmail
public void setNotificationEmail(java.lang.String notificationEmail)
-
getNotificationURL
public java.lang.String getNotificationURL()
-
setRedirectURL
public void setRedirectURL(java.lang.String notificationUrl)
-
getPricingMethod
public java.lang.String getPricingMethod()
-
setPricingMethod
public void setPricingMethod(java.lang.String pricingMethod)
-
getId
public java.lang.String getId()
-
setId
public void setId(java.lang.String id)
-
getAccount
public java.lang.String getAccount()
-
setAccount
public void setAccount(java.lang.String account)
-
getSupportPhone
public java.lang.String getSupportPhone()
-
setSupportPhone
public void setSupportPhone(java.lang.String supportPhone)
-
getStatus
public java.lang.String getStatus()
-
setStatus
public void setStatus(java.lang.String status)
-
getPercentFee
public java.lang.Double getPercentFee()
-
setPercentFee
public void setPercentFee(java.lang.Double percentFee)
-
getFee
public java.lang.Double getFee()
-
setFee
public void setFee(java.lang.Double fee)
-
getDepositTotal
public java.lang.Double getDepositTotal()
-
setDepositTotal
public void setDepositTotal(java.lang.Double depositTotal)
-
getBtc
public java.lang.Double getBtc()
-
setBtc
public void setBtc(java.lang.Double btc)
-
getRate
public java.lang.Double getRate()
-
setRate
public void setRate(java.lang.Double rate)
-
getRequestDate
public long getRequestDate()
-
setRequestDate
public void setRequestDate(long requestDate)
-
getDateExecuted
public long getDateExecuted()
-
setDateExecuted
public void setDateExecuted(long dateExecuted)
-
-