com.stripe.model
Class Charge
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.APIResource
com.stripe.model.Charge
public class Charge
- extends APIResource
Charge
public Charge()
getId
public String getId()
setId
public void setId(String id)
getAmount
public Integer getAmount()
setAmount
public void setAmount(Integer amount)
getCreated
public Long getCreated()
setCreated
public void setCreated(Long created)
getCurrency
public String getCurrency()
setCurrency
public void setCurrency(String currency)
getLivemode
public String getLivemode()
setLivemode
public void setLivemode(String livemode)
getPaid
public Boolean getPaid()
setPaid
public void setPaid(Boolean paid)
getRefunded
public Boolean getRefunded()
setRefunded
public void setRefunded(Boolean refunded)
getFee
public Integer getFee()
setFee
public void setFee(Integer fee)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getCard
public Card getCard()
setCard
public void setCard(Card card)
create
public static Charge create(Map<String,Object> params)
throws StripeException
- Throws:
StripeException
retrieve
public static Charge retrieve(String id)
throws StripeException
- Throws:
StripeException
all
public static ChargeCollection all(Map<String,Object> params)
throws StripeException
- Throws:
StripeException
refund
public Charge refund()
throws StripeException
- Throws:
StripeException
Copyright © 2011 Stripe. All Rights Reserved.