Package com.stripe.model.v2.core
Class ConnectionSession
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.core.ConnectionSession
- All Implemented Interfaces:
HasId,StripeObjectInterface
The ConnectionSession resource.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe Connection created by the ConnectionSession. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe Account this Connection Session was created for.The Connection types that the Connection Session is allowed to establish.The client secret of this Connection Session.The Connection created by the ConnectionSession.Time at which the ConnectionSession was created.getId()The unique identifier for this ConnectionSession.Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.String representing the object's type.The access that is collected with the Connection Session.inthashCode()voidsetAccount(String account) The Account this Connection Session was created for.voidsetAllowedConnectionTypes(List<String> allowedConnectionTypes) The Connection types that the Connection Session is allowed to establish.voidsetClientSecret(String clientSecret) The client secret of this Connection Session.voidsetConnection(ConnectionSession.Connection connection) The Connection created by the ConnectionSession.voidsetCreated(Instant created) Time at which the ConnectionSession was created.voidThe unique identifier for this ConnectionSession.voidsetLivemode(Boolean livemode) Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.voidString representing the object's type.voidsetRequestedAccess(List<String> requestedAccess) The access that is collected with the Connection Session.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
ConnectionSession
public ConnectionSession()
-
-
Method Details
-
getAccount
The Account this Connection Session was created for. -
getAllowedConnectionTypes
The Connection types that the Connection Session is allowed to establish. -
getClientSecret
The client secret of this Connection Session. Used on the client to set up secure access to the given Account. -
getConnection
The Connection created by the ConnectionSession. -
getCreated
Time at which the ConnectionSession was created. -
getLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
getObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.core.connection_session. -
getRequestedAccess
The access that is collected with the Connection Session. -
setAccount
The Account this Connection Session was created for. -
setAllowedConnectionTypes
The Connection types that the Connection Session is allowed to establish. -
setClientSecret
The client secret of this Connection Session. Used on the client to set up secure access to the given Account. -
setConnection
The Connection created by the ConnectionSession. -
setCreated
Time at which the ConnectionSession was created. -
setId
The unique identifier for this ConnectionSession. -
setLivemode
Has the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode. -
setObject
String representing the object's type. Objects of the same type share the same value of the object field.Equal to
v2.core.connection_session. -
setRequestedAccess
The access that is collected with the Connection Session. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
The unique identifier for this ConnectionSession.
-