Skip to content

Commit

Permalink
fix(paypal): fixed currency code not found issue (#653)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickbussmann authored and ihadeed committed Oct 7, 2016
1 parent 6f0f02b commit 598f8a9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/plugins/pay-pal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,13 @@ export class PayPalPayment {
* Convenience constructor.
* Returns a PayPalPayment with the specified amount, currency code, and short description.
* @param {String} amount: The amount of the payment.
* @param {String} currencyCode: The ISO 4217 currency for the payment.
* @param {String} currency: The ISO 4217 currency for the payment.
* @param {String} shortDescription: A short description of the payment.
* @param {String} intent: "Sale" for an immediate payment.
*/
constructor(amount: string, currencyCode: string, shortDescription: string, intent: string) {
constructor(amount: string, currency: string, shortDescription: string, intent: string) {
this.amount = amount;
this.currencyCode = currencyCode;
this.currency = currency;
this.shortDescription = shortDescription;
this.intent = intent;
}
Expand All @@ -119,7 +119,7 @@ export class PayPalPayment {
/**
* The ISO 4217 currency for the payment.
*/
currencyCode: string;
currency: string;
/**
* A short description of the payment.
*/
Expand Down

0 comments on commit 598f8a9

Please sign in to comment.