Interface MonetizationConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MonetizationConfig.Builder,,MonetizationConfig> SdkBuilder<MonetizationConfig.Builder,,MonetizationConfig> SdkPojo
- Enclosing class:
MonetizationConfig
-
Method Summary
Modifier and TypeMethodDescriptiondefault MonetizationConfig.BuildercryptoConfig(Consumer<CryptoConfig.Builder> cryptoConfig) The cryptocurrency payment configuration, including the blockchain networks and wallet addresses where you receive payments.cryptoConfig(CryptoConfig cryptoConfig) The cryptocurrency payment configuration, including the blockchain networks and wallet addresses where you receive payments.currencyMode(String currencyMode) Specifies whether the configuration uses real or test currency.currencyMode(CurrencyMode currencyMode) Specifies whether the configuration uses real or test currency.Methods 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, sdkFields
-
Method Details
-
cryptoConfig
The cryptocurrency payment configuration, including the blockchain networks and wallet addresses where you receive payments.
- Parameters:
cryptoConfig- The cryptocurrency payment configuration, including the blockchain networks and wallet addresses where you receive payments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cryptoConfig
The cryptocurrency payment configuration, including the blockchain networks and wallet addresses where you receive payments.
This is a convenience method that creates an instance of theCryptoConfig.Builderavoiding the need to create one manually viaCryptoConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocryptoConfig(CryptoConfig).- Parameters:
cryptoConfig- a consumer that will call methods onCryptoConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currencyMode
Specifies whether the configuration uses real or test currency. Set to
REALto settle payments in USDC on production blockchain networks (Base, Solana). Set toTESTto settle on testnet networks (Base Sepolia, Solana Devnet) with tokens that have no monetary value. If not specified, defaults toREAL.- Parameters:
currencyMode- Specifies whether the configuration uses real or test currency. Set toREALto settle payments in USDC on production blockchain networks (Base, Solana). Set toTESTto settle on testnet networks (Base Sepolia, Solana Devnet) with tokens that have no monetary value. If not specified, defaults toREAL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currencyMode
Specifies whether the configuration uses real or test currency. Set to
REALto settle payments in USDC on production blockchain networks (Base, Solana). Set toTESTto settle on testnet networks (Base Sepolia, Solana Devnet) with tokens that have no monetary value. If not specified, defaults toREAL.- Parameters:
currencyMode- Specifies whether the configuration uses real or test currency. Set toREALto settle payments in USDC on production blockchain networks (Base, Solana). Set toTESTto settle on testnet networks (Base Sepolia, Solana Devnet) with tokens that have no monetary value. If not specified, defaults toREAL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-