com.stripe.model
Class Customer
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.APIResource
com.stripe.model.Customer
public class Customer
- extends APIResource
Customer
public Customer()
getCreated
public Long getCreated()
setCreated
public void setCreated(Long created)
getId
public String getId()
setId
public void setId(String id)
getLivemode
public String getLivemode()
setLivemode
public void setLivemode(String livemode)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getActiveCard
public Card getActiveCard()
setActiveCard
public void setActiveCard(Card activeCard)
getEmail
public String getEmail()
setEmail
public void setEmail(String email)
getPlan
public String getPlan()
setPlan
public void setPlan(String plan)
getTrialEnd
public Long getTrialEnd()
setTrialEnd
public void setTrialEnd(Long trialEnd)
getDiscount
public Discount getDiscount()
setDiscount
public void setDiscount(Discount discount)
getNextRecurringCharge
public NextRecurringCharge getNextRecurringCharge()
setNextRecurringCharge
public void setNextRecurringCharge(NextRecurringCharge nextRecurringCharge)
getSubscription
public Subscription getSubscription()
setSubscription
public void setSubscription(Subscription subscription)
create
public static Customer create(Map<String,Object> params)
throws StripeException
- Throws:
StripeException
retrieve
public static Customer retrieve(String id)
throws StripeException
- Throws:
StripeException
all
public static CustomerCollection all(Map<String,Object> params)
throws StripeException
- Throws:
StripeException
update
public Customer update(Map<String,Object> params)
throws StripeException
- Throws:
StripeException
delete
public DeletedCustomer delete()
throws StripeException
- Throws:
StripeException
updateSubscription
public Subscription updateSubscription(Map<String,Object> params)
throws StripeException
- Throws:
StripeException
cancelSubscription
public Subscription cancelSubscription(Map<String,Object> params)
throws StripeException
- Throws:
StripeException
Copyright © 2011 Stripe. All Rights Reserved.