Package com.stripe.model.v2.core
Class Account.Configuration
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.core.Account.Configuration
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Account
An Account represents a company, individual, or other entity that a user interacts with.
Accounts store identity information and one or more configurations that enable product-specific
capabilities. You can assign configurations at creation or add them later.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe Customer Configuration allows the Account to be used in inbound payment flows.static classEnables the Account to act as a connected account and collect payments facilitated by a Connect platform.static classThe Recipient Configuration allows the Account to receive funds. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe Customer Configuration allows the Account to be used in inbound payment flows.Enables the Account to act as a connected account and collect payments facilitated by a Connect platform.The Recipient Configuration allows the Account to receive funds.inthashCode()voidsetCustomer(Account.Configuration.Customer customer) The Customer Configuration allows the Account to be used in inbound payment flows.voidsetMerchant(Account.Configuration.Merchant merchant) Enables the Account to act as a connected account and collect payments facilitated by a Connect platform.voidsetRecipient(Account.Configuration.Recipient recipient) The Recipient Configuration allows the Account to receive funds.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Configuration
public Configuration()
-
-
Method Details
-
getCustomer
The Customer Configuration allows the Account to be used in inbound payment flows. -
getMerchant
Enables the Account to act as a connected account and collect payments facilitated by a Connect platform. You must onboard your platform to Connect before you can add this configuration to your connected accounts. Utilize this configuration when the Account will be the Merchant of Record, like with Direct charges or Destination Charges with on_behalf_of set. -
getRecipient
The Recipient Configuration allows the Account to receive funds. Utilize this configuration if the Account will not be the Merchant of Record, like with Separate Charges & Transfers, or Destination Charges without on_behalf_of set. -
setCustomer
The Customer Configuration allows the Account to be used in inbound payment flows. -
setMerchant
Enables the Account to act as a connected account and collect payments facilitated by a Connect platform. You must onboard your platform to Connect before you can add this configuration to your connected accounts. Utilize this configuration when the Account will be the Merchant of Record, like with Direct charges or Destination Charges with on_behalf_of set. -
setRecipient
The Recipient Configuration allows the Account to receive funds. Utilize this configuration if the Account will not be the Merchant of Record, like with Separate Charges & Transfers, or Destination Charges without on_behalf_of set. -
equals
-
canEqual
-
hashCode
public int hashCode()
-