Skip to content

Support for Amazon Incentives API (AGCOD) #1508

@MattFromGer

Description

@MattFromGer

Hey guys,
I need to use the Amazon Incentives API or Amazon Gift Card on Demand (AGCOD) API (Link, Spec). The service is not yet supported in v2.

Ideally the result will be similar to the following code:

    AgcodClient client = AgcodClient.builder()
            .credentialsProvider(StaticCredentialsProvider.create(AwsBasicCredentials.create("akid", "skid")))
            .region(Region.US_EAST_1)
            .build();

    CreateGiftCardResponse response = client.createGiftCard(CreateGiftCardRequest.builder()
            .creationRequestId("123")
            .partnerId("1234")
            .value(Value.builder()
                    .amount(10)
                    .currencyCode("USD")
                    .build())
            .build());

I could try to implement it and open a PR, but it will be WIP, because I'll probably need some guidance. Or should I do my own lib? What do you think?

Edit: I'm working on it here for anyone interested: https://github.com/mayflower/agcod-java-client

Metadata

Metadata

Assignees

No one assigned

    Labels

    guidanceQuestion that needs advice or information.wontfixWe have determined that we will not resolve the issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions