Download the PHP package bkintanar/amazongiftcode without Composer
On this page you can find all versions of the php package bkintanar/amazongiftcode. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bkintanar/amazongiftcode
More information about bkintanar/amazongiftcode
Files in bkintanar/amazongiftcode
Package amazongiftcode
Short Description Laravel Package for Amazon Gift Codes.
License MIT
Homepage https://github.com/bkintanar/amazongiftcode
Informations about the package amazongiftcode
AmazonGiftCode
AmazonGiftCode is Laravel package for Amazon Gift Codes On Demand (AGCOD). Integration for Amazon Incentive API. Read more at https://developer.amazon.com/amazon-incentives-api
This package will give you a simplest APIs to Create/Cancel Amazon Gift Code On Demand.
Installation
You can install this package via Composer.
Set the following Environment Variable in .env
file.
The package will register itself automatically. Optionally publish config file of package
Usage
To Create Amazon Gift Card
To Cancel Amazon Gift Card
To Get Available Funds Balance
Available Methods
To change client configuration dynamic. If you pass only $key
or other parameter will takes value from default config.
CreateGiftCard
getStatus()
Get the status of perform request. (status
)
getId()
To get unique Amazon Gift Card id. (gcId
)
getCreationRequestId()
Original Creation Request Id. (creationRequestId
)
getClaimCode()
Amazon Gift Card Claim Code to be used. (gcClaimCode
)
getValue()
Amount of generated Gift Card. (amount
)
getCurrency()
Currency Code of generated Gift Card. (currencyCode
)
getRawJson()
Get the raw JSON response. (original response)
CancelGiftCard
getStatus()
Get the status of perform request. (status
)
getId()
To get unique Amazon Gift Card id. (gcId
)
getCreationRequestId()
Original Creation Request Id. (creationRequestId
)
getRawJson()
Get the raw JSON response. (original response)
GetAvailableFunds
getStatus()
Get the status of perform request. (status
)
getAmount()
To get available balance amount. (amount
)
getCurrency()
To get currency. (currency
)
getTimestamp()
Get request timestamp. (getTimestamp
)
getRawJson()
Get the raw JSON response. (original response)
Change log
Please see the changelog for more information on what has changed recently.
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Kashyap Merai
- All Contributors
License
MIT. Please see the license file for more information.