public class Invoice extends APIResource
APIResource.RequestMethodCHARSET, GSONPRETTY_PRINT_GSON| Constructor and Description |
|---|
Invoice() |
_request, classURL, instanceURL, request, singleClassURLtoStringpublic Integer getSubtotal()
public void setSubtotal(Integer subtotal)
public Integer getTotal()
public void setTotal(Integer total)
public Integer getAmountDue()
public void setAmountDue(Integer amountDue)
public Integer getStartingBalance()
public void setStartingBalance(Integer startingBalance)
public Integer getEndingBalance()
public void setEndingBalance(Integer endingBalance)
public String getId()
public void setId(String id)
public Long getCreated()
public void setCreated(Long created)
public Long getNextPaymentAttempt()
public void setNextPaymentAttempt(Long nextPaymentAttempt)
public Boolean getAttempted()
public void setAttempted(Boolean attempted)
public String getCharge()
public void setCharge(String charge)
public Boolean getClosed()
public void setClosed(Boolean closed)
public String getCustomer()
public void setCustomer(String customer)
public Long getDate()
public void setDate(Long date)
public Boolean getPaid()
public void setPaid(Boolean paid)
public Long getPeriodStart()
public void setPeriodStart(Long periodStart)
public Long getPeriodEnd()
public void setPeriodEnd(Long periodEnd)
public Discount getDiscount()
public void setDiscount(Discount discount)
public InvoiceLineItemCollection getLines()
public Boolean getLivemode()
public void setLivemode(Boolean livemode)
public Integer getAttemptCount()
public void setAttemptCount(Integer attemptCount)
public String getCurrency()
public void setCurrency(String currency)
public static Invoice retrieve(String id) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Invoice create(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static InvoiceCollection all(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Invoice upcoming(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public Invoice pay() throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public Invoice update(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Invoice retrieve(String id, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Invoice create(Map<String,Object> params, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Invoice upcoming(Map<String,Object> params, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static InvoiceCollection all(Map<String,Object> params, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public Invoice update(Map<String,Object> params, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public Invoice pay(String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
Copyright © 2014 Stripe. All rights reserved.