GoogleCloudPaymentsResellerSubscriptionV1UserSession class
A user session contains a short-lived token that includes information required to interact with Google Payments Reseller Platform using the following web endpoints.
- A user session token should be generated dynamically for an authenticated
user. You should refrain from sharing a token directly with a user in an
unauthenticated context, such as SMS, or email. - You can re-generate new
session tokens repeatedly for same
generate
request if necessary, regardless of the previous tokens being expired or not. You don't need to worry about multiple sessions resulting in duplicate fulfillments as guaranteed by the same subscription id. Please refer to the [Google Managed Signup](/payments/reseller/subscription/reference/index/User.Signup.Integration/Google.Managed.Signup.(In.Preview)) documentation for additional integration details.
Constructors
- GoogleCloudPaymentsResellerSubscriptionV1UserSession.new({String? expireTime, String? token})
- GoogleCloudPaymentsResellerSubscriptionV1UserSession.fromJson(Map json_)
Properties
- expireTime ↔ String?
-
The time at which the user session expires.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- token ↔ String?
-
The encrypted token of the user session, including the information of the
user's intent and request.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited