Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kamerk22 authored Dec 7, 2018
1 parent 0426d15 commit 46ea9cc
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@

# AmazonGiftCode

[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/kamerk22/AmazonGiftCode/badges/quality-score.png?b=master&s=0c4b7d1a88b4519df2f2a95282ef07c53159aca2)](https://scrutinizer-ci.com/g/kamerk22/AmazonGiftCode/?branch=master)
[![Build Status](https://scrutinizer-ci.com/g/kamerk22/AmazonGiftCode/badges/build.png?b=master&s=8971718965afae0299de675bf1a1f68dd051207a)](https://scrutinizer-ci.com/g/kamerk22/AmazonGiftCode/build-status/master)
[![Code Intelligence Status](https://scrutinizer-ci.com/g/kamerk22/AmazonGiftCode/badges/code-intelligence.svg?b=master&s=e4998c2937ca56b1d7fcb0bb71d678b3a151ffc8)](https://scrutinizer-ci.com/code-intelligence)
[![Latest Version on Packagist][ico-version]][link-packagist]
[![Total Downloads][ico-downloads]][link-downloads]

Expand Down Expand Up @@ -46,6 +50,7 @@ To change client configuration dynamic. If you pass only `$key` or other paramet
$aws = AmazonGiftCode::make($key, $secret, $partner, $endpoint, $currency)->buyGiftCard($value);
```


### CreateGiftCard

`getStatus()`
Expand All @@ -55,7 +60,7 @@ Get the status of perform request. (`status`)
```php
$status = $aws->getStatus();
```

-------------------

`getId()`

Expand All @@ -65,7 +70,7 @@ To get unique Amazon Gift Card id. (`gcId`)
```php
$gcId = $aws->getId();
```

-------------------
`getCreationRequestId()`

Original Creation Request Id. (`creationRequestId`)
Expand All @@ -74,7 +79,7 @@ Original Creation Request Id. (`creationRequestId`)
```php
$creationRequestId = $aws->getCreationRequestId();
```

-------------------
`getClaimCode()`

Amazon Gift Card Claim Code to be used. (`gcClaimCode`)
Expand All @@ -83,7 +88,7 @@ Amazon Gift Card Claim Code to be used. (`gcClaimCode`)
```php
$gcClaimCode = $aws->getClaimCode();
```

-------------------
`getValue()`

Amount of generated Gift Card. (`amount`)
Expand All @@ -92,7 +97,7 @@ Amount of generated Gift Card. (`amount`)
```php
$amount = $aws->getValue();
```

-------------------
`getCurrency()`

Currency Code of generated Gift Card. (`currencyCode`)
Expand All @@ -101,7 +106,7 @@ Currency Code of generated Gift Card. (`currencyCode`)
```php
$currencyCode = $aws->getCurrency();
```

-------------------
`getRawJson()`

Get the raw JSON response. (original response)
Expand All @@ -111,7 +116,7 @@ Get the raw JSON response. (original response)
$rawJson = $aws->getRawJson();
```


-------------------
### CancelGiftCard

`getStatus()`
Expand All @@ -121,7 +126,7 @@ Get the status of perform request. (`status`)
```php
$status = $aws->getStatus();
```

-------------------
`getId()`

To get unique Amazon Gift Card id. (`gcId`)
Expand All @@ -130,7 +135,7 @@ To get unique Amazon Gift Card id. (`gcId`)
```php
$gcId = $aws->getId();
```

-------------------
`getCreationRequestId()`

Original Creation Request Id. (`creationRequestId`)
Expand All @@ -140,7 +145,7 @@ Original Creation Request Id. (`creationRequestId`)
$creationRequestId = $aws->getCreationRequestId();
```


-------------------
`getRawJson()`

Get the raw JSON response. (original response)
Expand All @@ -156,11 +161,6 @@ $rawJson = $aws->getRawJson();

Please see the [changelog](changelog.md) for more information on what has changed recently.

## Testing

``` bash
$ composer test
```

## Contributing

Expand Down Expand Up @@ -189,4 +189,4 @@ MIT. Please see the [license file](license.md) for more information.
[link-travis]: https://travis-ci.org/kamerk22/amazongiftcode
[link-styleci]: https://styleci.io/repos/12345678
[link-author]: https://github.com/kamerk22
[link-contributors]: ../../contributors]
[link-contributors]: ../../contributors]

0 comments on commit 46ea9cc

Please sign in to comment.