public static interface CreateGiftCardRequest.Builder extends AgcodRequest.Builder, software.amazon.awssdk.core.SdkPojo, software.amazon.awssdk.utils.builder.CopyableBuilder<CreateGiftCardRequest.Builder,CreateGiftCardRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateGiftCardRequest.Builder |
creationRequestId(String creationRequestId)
A unique identifier for every CreateGiftCard call that results in the creation of a GC.
|
CreateGiftCardRequest.Builder |
externalReference(String externalReference)
You can use the externalReference field to pass your own reference identifier as a string when making gift
code requests (up to 100 Unicode characters).
|
CreateGiftCardRequest.Builder |
overrideConfiguration(software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration overrideConfiguration) |
CreateGiftCardRequest.Builder |
overrideConfiguration(Consumer<software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateGiftCardRequest.Builder |
partnerId(String partnerId)
A unique identifier (CASE SENSITIVE, 1st letter is capitalized and the next four are lower case) provided by
the Amazon GC team.
|
CreateGiftCardRequest.Builder |
productType(ProductType productType)
The ProductType field is required for the creation of an Amazon Product Voucher Claim Code.
|
CreateGiftCardRequest.Builder |
productType(String productType)
The ProductType field is required for the creation of an Amazon Product Voucher Claim Code.
|
CreateGiftCardRequest.Builder |
programId(String programId)
The programID is an approved identifier provided by Amazon through a submission process.
|
CreateGiftCardRequest.Builder |
value(AgcodValue value)
Sets the value of the Value property for this object.
|
default CreateGiftCardRequest.Builder |
value(Consumer<AgcodValue.Builder> value)
Sets the value of the Value property for this object.
|
buildCreateGiftCardRequest.Builder creationRequestId(String creationRequestId)
A unique identifier for every CreateGiftCard call that results in the creation of a GC. The partner must generate a new value for every Create request (except for retries) To keep this as the globally unique transaction identifier, the partner needs to:
creationRequestId - A unique identifier for every CreateGiftCard call that results in the creation of a GC. The partner
must generate a new value for every Create request (except for retries) To keep this as the globally
unique transaction identifier, the partner needs to:
CreateGiftCardRequest.Builder partnerId(String partnerId)
A unique identifier (CASE SENSITIVE, 1st letter is capitalized and the next four are lower case) provided by the Amazon GC team. This value is part of the Payload of every AGCOD Gateway request.
partnerId - A unique identifier (CASE SENSITIVE, 1st letter is capitalized and the next four are lower case)
provided by the Amazon GC team. This value is part of the Payload of every AGCOD Gateway request.CreateGiftCardRequest.Builder value(AgcodValue value)
value - The new value for the Value property for this object.default CreateGiftCardRequest.Builder value(Consumer<AgcodValue.Builder> value)
AgcodValue.Builder avoiding the need to create
one manually via AgcodValue.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to value(AgcodValue).value - a consumer that will call methods on AgcodValue.Buildervalue(AgcodValue)CreateGiftCardRequest.Builder programId(String programId)
The programID is an approved identifier provided by Amazon through a submission process. The programID is alphanumeric and can be up to 100 characters in length.
programId - The programID is an approved identifier provided by Amazon through a submission process. The programID
is alphanumeric and can be up to 100 characters in length.CreateGiftCardRequest.Builder productType(String productType)
The ProductType field is required for the creation of an Amazon Product Voucher Claim Code. Only authorized partners can create Product Vouchers. This attribute is alpha-numeric with a max length of 50 characters.
productType - The ProductType field is required for the creation of an Amazon Product Voucher Claim Code. Only
authorized partners can create Product Vouchers. This attribute is alpha-numeric with a max length of
50 characters.ProductType,
ProductTypeCreateGiftCardRequest.Builder productType(ProductType productType)
The ProductType field is required for the creation of an Amazon Product Voucher Claim Code. Only authorized partners can create Product Vouchers. This attribute is alpha-numeric with a max length of 50 characters.
productType - The ProductType field is required for the creation of an Amazon Product Voucher Claim Code. Only
authorized partners can create Product Vouchers. This attribute is alpha-numeric with a max length of
50 characters.ProductType,
ProductTypeCreateGiftCardRequest.Builder externalReference(String externalReference)
You can use the externalReference field to pass your own reference identifier as a string when making gift code requests (up to 100 Unicode characters).
externalReference - You can use the externalReference field to pass your own reference identifier as a string when making
gift code requests (up to 100 Unicode characters).CreateGiftCardRequest.Builder overrideConfiguration(software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface software.amazon.awssdk.awscore.AwsRequest.BuilderCreateGiftCardRequest.Builder overrideConfiguration(Consumer<software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface software.amazon.awssdk.awscore.AwsRequest.BuilderCopyright © 2020. All rights reserved.