com.stripe.model
Class Invoice

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

public class Invoice
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
 
Constructor Summary
Invoice()
           
 
Method Summary
static InvoiceCollection all(Map<String,Object> params)
           
 Boolean getAttempted()
           
 String getCharge()
           
 Boolean getClosed()
           
 Long getCreated()
           
 String getCustomer()
           
 Long getDate()
           
 Discount getDiscount()
           
 String getId()
           
 InvoiceLines getLines()
           
 Boolean getPaid()
           
 Long getPeriodEnd()
           
 Long getPeriodStart()
           
 Integer getSubtotal()
           
 Integer getTotal()
           
static Invoice retrieve(String id)
           
 void setAttempted(Boolean attempted)
           
 void setCharge(String charge)
           
 void setClosed(Boolean closed)
           
 void setCreated(Long created)
           
 void setCustomer(String customer)
           
 void setDate(Long date)
           
 void setDiscount(Discount discount)
           
 void setId(String id)
           
 void setLines(InvoiceLines lines)
           
 void setPaid(Boolean paid)
           
 void setPeriodEnd(Long periodEnd)
           
 void setPeriodStart(Long periodStart)
           
 void setSubtotal(Integer subtotal)
           
 void setTotal(Integer total)
           
static Invoice upcoming(Map<String,Object> params)
           
 
Methods inherited from class com.stripe.net.APIResource
classURL, instanceURL, request
 
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

Invoice

public Invoice()
Method Detail

getSubtotal

public Integer getSubtotal()

setSubtotal

public void setSubtotal(Integer subtotal)

getTotal

public Integer getTotal()

setTotal

public void setTotal(Integer total)

getId

public String getId()

setId

public void setId(String id)

getCreated

public Long getCreated()

setCreated

public void setCreated(Long created)

getAttempted

public Boolean getAttempted()

setAttempted

public void setAttempted(Boolean attempted)

getCharge

public String getCharge()

setCharge

public void setCharge(String charge)

getClosed

public Boolean getClosed()

setClosed

public void setClosed(Boolean closed)

getCustomer

public String getCustomer()

setCustomer

public void setCustomer(String customer)

getDate

public Long getDate()

setDate

public void setDate(Long date)

getPaid

public Boolean getPaid()

setPaid

public void setPaid(Boolean paid)

getPeriodStart

public Long getPeriodStart()

setPeriodStart

public void setPeriodStart(Long periodStart)

getPeriodEnd

public Long getPeriodEnd()

setPeriodEnd

public void setPeriodEnd(Long periodEnd)

getDiscount

public Discount getDiscount()

setDiscount

public void setDiscount(Discount discount)

getLines

public InvoiceLines getLines()

setLines

public void setLines(InvoiceLines lines)

retrieve

public static Invoice retrieve(String id)
                        throws StripeException
Throws:
StripeException

all

public static InvoiceCollection all(Map<String,Object> params)
                             throws StripeException
Throws:
StripeException

upcoming

public static Invoice upcoming(Map<String,Object> params)
                        throws StripeException
Throws:
StripeException


Copyright © 2011 Stripe. All Rights Reserved.