com.stripe.model
Class InvoiceItem
java.lang.Object
com.stripe.model.StripeObject
com.stripe.net.APIResource
com.stripe.model.InvoiceItem
public class InvoiceItem
- extends APIResource
|
Method Summary |
static InvoiceItemCollection |
all(Map<String,Object> params)
|
static InvoiceItemCollection |
all(Map<String,Object> params,
String apiKey)
|
static InvoiceItem |
create(Map<String,Object> params)
|
static InvoiceItem |
create(Map<String,Object> params,
String apiKey)
|
DeletedInvoiceItem |
delete()
|
DeletedInvoiceItem |
delete(String apiKey)
|
Integer |
getAmount()
|
String |
getCurrency()
|
String |
getCustomer()
|
Long |
getDate()
|
String |
getDescription()
|
String |
getId()
|
String |
getInvoice()
|
Boolean |
getLivemode()
|
static InvoiceItem |
retrieve(String id)
|
static InvoiceItem |
retrieve(String id,
String apiKey)
|
void |
setAmount(Integer amount)
|
void |
setCurrency(String currency)
|
void |
setCustomer(String customer)
|
void |
setDate(Long date)
|
void |
setDescription(String description)
|
void |
setId(String id)
|
void |
setInvoice(String invoice)
|
void |
setLivemode(Boolean livemode)
|
InvoiceItem |
update(Map<String,Object> params)
|
InvoiceItem |
update(Map<String,Object> params,
String apiKey)
|
InvoiceItem
public InvoiceItem()
getAmount
public Integer getAmount()
setAmount
public void setAmount(Integer amount)
getId
public String getId()
setId
public void setId(String id)
getCurrency
public String getCurrency()
setCurrency
public void setCurrency(String currency)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getDate
public Long getDate()
setDate
public void setDate(Long date)
getLivemode
public Boolean getLivemode()
setLivemode
public void setLivemode(Boolean livemode)
getCustomer
public String getCustomer()
setCustomer
public void setCustomer(String customer)
getInvoice
public String getInvoice()
setInvoice
public void setInvoice(String invoice)
create
public static InvoiceItem create(Map<String,Object> params)
throws StripeException
- Throws:
StripeException
retrieve
public static InvoiceItem retrieve(String id)
throws StripeException
- Throws:
StripeException
all
public static InvoiceItemCollection all(Map<String,Object> params)
throws StripeException
- Throws:
StripeException
update
public InvoiceItem update(Map<String,Object> params)
throws StripeException
- Throws:
StripeException
delete
public DeletedInvoiceItem delete()
throws StripeException
- Throws:
StripeException
create
public static InvoiceItem create(Map<String,Object> params,
String apiKey)
throws StripeException
- Throws:
StripeException
retrieve
public static InvoiceItem retrieve(String id,
String apiKey)
throws StripeException
- Throws:
StripeException
all
public static InvoiceItemCollection all(Map<String,Object> params,
String apiKey)
throws StripeException
- Throws:
StripeException
update
public InvoiceItem update(Map<String,Object> params,
String apiKey)
throws StripeException
- Throws:
StripeException
delete
public DeletedInvoiceItem delete(String apiKey)
throws StripeException
- Throws:
StripeException
Copyright © 2013 Stripe. All Rights Reserved.