Package com.stripe.model
Class Customer.InvoiceSettings
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.Customer.InvoiceSettings
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Customer
public static class Customer.InvoiceSettings extends StripeObject
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description InvoiceSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.util.List<Invoice.CustomField>
getCustomFields()
Default custom fields to be displayed on invoices for this customer.java.lang.String
getDefaultPaymentMethod()
Get ID of expandabledefaultPaymentMethod
object.PaymentMethod
getDefaultPaymentMethodObject()
Get expandeddefaultPaymentMethod
.java.lang.String
getFooter()
Default footer to be displayed on invoices for this customer.int
hashCode()
void
setCustomFields(java.util.List<Invoice.CustomField> customFields)
Default custom fields to be displayed on invoices for this customer.void
setDefaultPaymentMethod(java.lang.String id)
void
setDefaultPaymentMethodObject(PaymentMethod expandableObject)
void
setFooter(java.lang.String footer)
Default footer to be displayed on invoices for this customer.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getDefaultPaymentMethod
public java.lang.String getDefaultPaymentMethod()
Get ID of expandabledefaultPaymentMethod
object.
-
setDefaultPaymentMethod
public void setDefaultPaymentMethod(java.lang.String id)
-
getDefaultPaymentMethodObject
public PaymentMethod getDefaultPaymentMethodObject()
Get expandeddefaultPaymentMethod
.
-
setDefaultPaymentMethodObject
public void setDefaultPaymentMethodObject(PaymentMethod expandableObject)
-
getCustomFields
public java.util.List<Invoice.CustomField> getCustomFields()
Default custom fields to be displayed on invoices for this customer.
-
getFooter
public java.lang.String getFooter()
Default footer to be displayed on invoices for this customer.
-
setCustomFields
public void setCustomFields(java.util.List<Invoice.CustomField> customFields)
Default custom fields to be displayed on invoices for this customer.
-
setFooter
public void setFooter(java.lang.String footer)
Default footer to be displayed on invoices for this customer.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-