com.stripe.model
Class InvoiceItem

java.lang.Object
  extended by com.stripe.model.StripeObject
      extended by com.stripe.net.APIResource
          extended by com.stripe.model.InvoiceItem

public class InvoiceItem
extends APIResource


Nested Class Summary
 
Nested classes/interfaces inherited from class com.stripe.net.APIResource
APIResource.RequestMethod
 
Field Summary
 
Fields inherited from class com.stripe.net.APIResource
CHARSET, gson
 
Fields inherited from class com.stripe.model.StripeObject
prettyPrintGson
 
Constructor Summary
InvoiceItem()
           
 
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)
           
 
Methods inherited from class com.stripe.net.APIResource
_request, classURL, instanceURL, request, singleClassURL
 
Methods inherited from class com.stripe.model.StripeObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvoiceItem

public InvoiceItem()
Method Detail

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 AuthenticationException,
                                 InvalidRequestException,
                                 APIConnectionException,
                                 CardException,
                                 APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

retrieve

public static InvoiceItem retrieve(String id)
                            throws AuthenticationException,
                                   InvalidRequestException,
                                   APIConnectionException,
                                   CardException,
                                   APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

all

public static InvoiceItemCollection all(Map<String,Object> params)
                                 throws AuthenticationException,
                                        InvalidRequestException,
                                        APIConnectionException,
                                        CardException,
                                        APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

update

public InvoiceItem update(Map<String,Object> params)
                   throws AuthenticationException,
                          InvalidRequestException,
                          APIConnectionException,
                          CardException,
                          APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

delete

public DeletedInvoiceItem delete()
                          throws AuthenticationException,
                                 InvalidRequestException,
                                 APIConnectionException,
                                 CardException,
                                 APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

create

public static InvoiceItem create(Map<String,Object> params,
                                 String apiKey)
                          throws AuthenticationException,
                                 InvalidRequestException,
                                 APIConnectionException,
                                 CardException,
                                 APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

retrieve

public static InvoiceItem retrieve(String id,
                                   String apiKey)
                            throws AuthenticationException,
                                   InvalidRequestException,
                                   APIConnectionException,
                                   CardException,
                                   APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

all

public static InvoiceItemCollection all(Map<String,Object> params,
                                        String apiKey)
                                 throws AuthenticationException,
                                        InvalidRequestException,
                                        APIConnectionException,
                                        CardException,
                                        APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

update

public InvoiceItem update(Map<String,Object> params,
                          String apiKey)
                   throws AuthenticationException,
                          InvalidRequestException,
                          APIConnectionException,
                          CardException,
                          APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException

delete

public DeletedInvoiceItem delete(String apiKey)
                          throws AuthenticationException,
                                 InvalidRequestException,
                                 APIConnectionException,
                                 CardException,
                                 APIException
Throws:
AuthenticationException
InvalidRequestException
APIConnectionException
CardException
APIException


Copyright © 2013 Stripe. All rights reserved.