Interface CreateBillingPortalSessionResponse.Builder
- All Superinterfaces:
AppMonetizationResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<CreateBillingPortalSessionResponse.Builder,,CreateBillingPortalSessionResponse> SdkBuilder<CreateBillingPortalSessionResponse.Builder,,CreateBillingPortalSessionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateBillingPortalSessionResponse
@Mutable
@NotThreadSafe
public static interface CreateBillingPortalSessionResponse.Builder
extends AppMonetizationResponse.Builder, SdkPojo, CopyableBuilder<CreateBillingPortalSessionResponse.Builder,CreateBillingPortalSessionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbillingPortalUrl(String billingPortalUrl) The URL of the billing portal page to redirect the end user's browser to.The time when the single-use link inbillingPortalUrlexpires, 10 minutes after it was created.manageToken(String manageToken) A short-lived token that authorizes updates to the buyer profile from the billing portal.sessionToken(String sessionToken) The billing portal session token carried in the fragment of billingPortalUrl.Methods inherited from interface software.amazon.awssdk.services.appmonetization.model.AppMonetizationResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
billingPortalUrl
The URL of the billing portal page to redirect the end user's browser to. The URL carries a short-lived session token or a single-use link in its fragment. The link works once, until expiresAt or the end of the session if sooner.
- Parameters:
billingPortalUrl- The URL of the billing portal page to redirect the end user's browser to. The URL carries a short-lived session token or a single-use link in its fragment. The link works once, until expiresAt or the end of the session if sooner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionToken
The billing portal session token carried in the fragment of billingPortalUrl. Absent when billingPortalUrl carries a single-use link instead.
- Parameters:
sessionToken- The billing portal session token carried in the fragment of billingPortalUrl. Absent when billingPortalUrl carries a single-use link instead.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiresAt
The time when the single-use link in
billingPortalUrlexpires, 10 minutes after it was created. After this time the URL no longer works and you must create a new session.- Parameters:
expiresAt- The time when the single-use link inbillingPortalUrlexpires, 10 minutes after it was created. After this time the URL no longer works and you must create a new session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
manageToken
A short-lived token that authorizes updates to the buyer profile from the billing portal. Returned only with sessionToken.
- Parameters:
manageToken- A short-lived token that authorizes updates to the buyer profile from the billing portal. Returned only with sessionToken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-