Package com.stripe.model.v2.billing
Class Profile
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.Profile
- All Implemented Interfaces:
HasId
,StripeObjectInterface
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Timestamp of when the object was created.The ID of the customer object.The ID of the payment method object.A customer-facing name for the billing profile.getId()
The ID of the billing profile object.Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.An internal key you can use to search for a particular billing profile.Set of key-value pairs that you can attach to an object.String representing the object's type.The current status of the billing profile.int
hashCode()
void
setCreated
(Instant created) Timestamp of when the object was created.void
setCustomer
(String customer) The ID of the customer object.void
setDefaultPaymentMethod
(String defaultPaymentMethod) The ID of the payment method object.void
setDisplayName
(String displayName) A customer-facing name for the billing profile.void
The ID of the billing profile object.void
setLivemode
(Boolean livemode) Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.void
setLookupKey
(String lookupKey) An internal key you can use to search for a particular billing profile.void
setMetadata
(Map<String, String> metadata) Set of key-value pairs that you can attach to an object.void
String representing the object's type.void
The current status of the billing profile.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Profile
public Profile()
-
-
Method Details
-
getCreated
Timestamp of when the object was created. -
getCustomer
The ID of the customer object. -
getDefaultPaymentMethod
The ID of the payment method object. -
getDisplayName
A customer-facing name for the billing profile. Maximum length of 250 characters. -
getLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
getLookupKey
An internal key you can use to search for a particular billing profile. Maximum length of 200 characters. -
getMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. -
getObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.billing.profile
. -
getStatus
The current status of the billing profile.One of
active
, orinactive
. -
setCreated
Timestamp of when the object was created. -
setCustomer
The ID of the customer object. -
setDefaultPaymentMethod
The ID of the payment method object. -
setDisplayName
A customer-facing name for the billing profile. Maximum length of 250 characters. -
setId
The ID of the billing profile object. -
setLivemode
Has the valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode. -
setLookupKey
An internal key you can use to search for a particular billing profile. Maximum length of 200 characters. -
setMetadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. -
setObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.billing.profile
. -
setStatus
The current status of the billing profile.One of
active
, orinactive
. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
The ID of the billing profile object.
-