| Package | Description |
|---|---|
| com.paypal.sdk.controllers | |
| com.paypal.sdk.models |
| Modifier and Type | Method and Description |
|---|---|
ApiResponse<PaymentTokenResponse> |
VaultController.createPaymentToken(CreatePaymentTokenInput input)
Creates a Payment Token from the given payment source and adds it to the Vault of the
associated customer.
|
CompletableFuture<ApiResponse<PaymentTokenResponse>> |
VaultController.createPaymentTokenAsync(CreatePaymentTokenInput input)
Creates a Payment Token from the given payment source and adds it to the Vault of the
associated customer.
|
ApiResponse<PaymentTokenResponse> |
VaultController.getPaymentToken(String id)
Returns a readable representation of vaulted payment source associated with the payment token
id.
|
CompletableFuture<ApiResponse<PaymentTokenResponse>> |
VaultController.getPaymentTokenAsync(String id)
Returns a readable representation of vaulted payment source associated with the payment token
id.
|
| Modifier and Type | Method and Description |
|---|---|
PaymentTokenResponse |
PaymentTokenResponse.Builder.build()
Builds a new
PaymentTokenResponse object using the set fields. |
| Modifier and Type | Method and Description |
|---|---|
List<PaymentTokenResponse> |
CustomerVaultPaymentTokensResponse.getPaymentTokens()
Getter for PaymentTokens.
|
| Modifier and Type | Method and Description |
|---|---|
CustomerVaultPaymentTokensResponse.Builder |
CustomerVaultPaymentTokensResponse.Builder.paymentTokens(List<PaymentTokenResponse> paymentTokens)
Setter for paymentTokens.
|
void |
CustomerVaultPaymentTokensResponse.setPaymentTokens(List<PaymentTokenResponse> paymentTokens)
Setter for PaymentTokens.
|
| Constructor and Description |
|---|
CustomerVaultPaymentTokensResponse(Integer totalItems,
Integer totalPages,
VaultResponseCustomer customer,
List<PaymentTokenResponse> paymentTokens,
List<LinkDescription> links)
Initialization constructor.
|
Copyright © 2025. All rights reserved.