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 Boolean getLivemode()
setLivemode
public void setLivemode(Boolean 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)
getAmountRefunded
public Integer getAmountRefunded()
setAmountRefunded
public void setAmountRefunded(Integer amountRefunded)
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
refund
public Charge refund(Map<String,Object> params)
throws StripeException
- Throws:
StripeException
Copyright © 2012 Stripe. All Rights Reserved.