public class Invoice extends APIResource implements MetadataStore<Invoice>, HasId
APIResource.RequestMethod, APIResource.RequestTypeCHARSET, GSONPRETTY_PRINT_GSON| Constructor and Description |
|---|
Invoice() |
classURL, classURL, instanceURL, instanceURL, multipartRequest, request, requestCollection, setStripeResponseGetter, singleClassURL, singleClassURL, urlEncodeequals, toStringpublic void setId(String id)
public Integer getAmountDue()
public void setAmountDue(Integer amountDue)
public Long getApplicationFee()
public void setApplicationFee(Long applicationFee)
public Integer getAttemptCount()
public void setAttemptCount(Integer attemptCount)
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 Long getCreated()
public void setCreated(Long created)
public String getCurrency()
public void setCurrency(String currency)
public String getCustomer()
public void setCustomer(String customer)
public Long getDate()
public void setDate(Long date)
public String getDescription()
public void setDescription(String description)
public Discount getDiscount()
public void setDiscount(Discount discount)
public Integer getEndingBalance()
public void setEndingBalance(Integer endingBalance)
public Boolean getForgiven()
public void setForgiven(Boolean forgiven)
public InvoiceLineItemCollection getLines()
public Boolean getLivemode()
public void setLivemode(Boolean livemode)
public Map<String,String> getMetadata()
getMetadata in interface MetadataStore<Invoice>public Long getNextPaymentAttempt()
public void setNextPaymentAttempt(Long nextPaymentAttempt)
public Boolean getPaid()
public void setPaid(Boolean paid)
public Long getPeriodEnd()
public void setPeriodEnd(Long periodEnd)
public Long getPeriodStart()
public void setPeriodStart(Long periodStart)
public String getReceiptNumber()
public void setReceiptNumber(String receiptNumber)
public Integer getStartingBalance()
public void setStartingBalance(Integer startingBalance)
public String getStatementDescriptor()
public void setStatementDescriptor(String statementDescriptor)
public String getSubscription()
public void setSubscription(String subscription)
public Long getSubscriptionProrationDate()
public void setSubscriptionProrationDate(Long subscriptionProrationDate)
public Integer getSubtotal()
public void setSubtotal(Integer subtotal)
public Integer getTax()
public void setTax(Integer tax)
public Double getTaxPercent()
public void setTaxPercent(Double taxPercent)
public Integer getTotal()
public void setTotal(Integer total)
public Long getWebhooksDeliveredAt()
public void setWebhooksDeliveredAt(Long webhooksDeliveredAt)
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 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
update in interface MetadataStore<Invoice>AuthenticationExceptionInvalidRequestExceptionAPIConnectionExceptionCardExceptionAPIException@Deprecated public static Invoice retrieve(String id, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Invoice retrieve(String id, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public static Invoice create(Map<String,Object> params, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Invoice create(Map<String,Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public static Invoice upcoming(Map<String,Object> params, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static Invoice upcoming(Map<String,Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static InvoiceCollection list(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public static InvoiceCollection list(Map<String,Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public static InvoiceCollection all(Map<String,Object> params) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public static InvoiceCollection all(Map<String,Object> params, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public static InvoiceCollection all(Map<String,Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
@Deprecated public Invoice update(Map<String,Object> params, String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public Invoice update(Map<String,Object> params, RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
update in interface MetadataStore<Invoice>AuthenticationExceptionInvalidRequestExceptionAPIConnectionExceptionCardExceptionAPIException@Deprecated public Invoice pay(String apiKey) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
public Invoice pay(RequestOptions options) throws AuthenticationException, InvalidRequestException, APIConnectionException, CardException, APIException
Copyright © 2016 Stripe. All rights reserved.