jp.webpay.model
Class Charge
java.lang.Object
jp.webpay.model.Charge
public class Charge
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
client
protected WebPayClient client
Charge
public Charge()
fromJsonResponse
public static Charge fromJsonResponse(@NonNull
WebPayClient client,
@NonNull
java.lang.String json)
createdDate
public java.util.Date createdDate()
expireDate
public java.util.Date expireDate()
refund
public void refund()
refund
public void refund(long amount)
capture
public void capture()
capture
public void capture(long amount)
timestampToDate
protected java.util.Date timestampToDate(java.lang.Long timestamp)