CheckoutSessionPatchSessionRequest class abstract

CheckoutSessionPatchSessionRequest

Properties:

  • amount - The amount to update for the payment session.
  • payable - Indicates if the session is payable. If the payment amount is final, set this to true to indicate that the session is payable, so that the shopper can proceed to submit the payment. When you set this to true, you can no longer update the session. If you set this to false, you must make another request to update the session and set this to true before the shopper can submit the payment.
  • sessionData - The encoded payment session data from the beforeSubmit callback from Drop-in or the Component.
Annotations
  • @BuiltValue.new()

Properties

amount → SessionAmountUpdate
The amount to update for the payment session.
no setter
hashCode → int
The hash code for this object.
no setterinherited
payable → bool?
Indicates if the session is payable. If the payment amount is final, set this to true to indicate that the session is payable, so that the shopper can proceed to submit the payment. When you set this to true, you can no longer update the session. If you set this to false, you must make another request to update the session and set this to true before the shopper can submit the payment.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sessionData → String
The encoded payment session data from the beforeSubmit callback from Drop-in or the Component.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(CheckoutSessionPatchSessionRequestBuilder)) → CheckoutSessionPatchSessionRequest
Rebuilds the instance.
inherited
toBuilder() → CheckoutSessionPatchSessionRequestBuilder
Converts the instance to a builder B.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

serializer → Serializer<CheckoutSessionPatchSessionRequest>
no setter