| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- #import <Foundation/Foundation.h>
- #if __has_include("BraintreeCore.h")
- #import "BraintreeCore.h"
- #else
- #import <BraintreeCore/BraintreeCore.h>
- #endif
- /**
- Contains information about a PayPal credit amount
- */
- @interface BTPayPalCreditFinancingAmount: NSObject
- /**
- 3 letter currency code as defined by <a href="http://www.iso.org/iso/home/standards/currency_codes.htm">ISO 4217</a>.
- */
- @property (nonatomic, nullable, readonly, copy) NSString *currency;
- /**
- An amount defined by <a href="http://www.iso.org/iso/home/standards/currency_codes.htm">ISO 4217</a> for the given currency.
- */
- @property (nonatomic, nullable, readonly, copy) NSString *value;
- @end
- /**
- Contains information about a PayPal credit financing option
- */
- @interface BTPayPalCreditFinancing: NSObject
- /**
- Indicates whether the card amount is editable after payer's acceptance on PayPal side.
- */
- @property (nonatomic, readonly) BOOL cardAmountImmutable;
- /**
- Estimated amount per month that the customer will need to pay including fees and interest.
- */
- @property (nonatomic, nullable, readonly, strong) BTPayPalCreditFinancingAmount *monthlyPayment;
- /**
- Status of whether the customer ultimately was approved for and chose to make the payment using the approved installment credit.
- */
- @property (nonatomic, readonly) BOOL payerAcceptance;
- /**
- Length of financing terms in months.
- */
- @property (nonatomic, readonly) NSInteger term;
- /**
- Estimated total payment amount including interest and fees the user will pay during the lifetime of the loan.
- */
- @property (nonatomic, nullable, readonly, strong) BTPayPalCreditFinancingAmount *totalCost;
- /**
- Estimated interest or fees amount the payer will have to pay during the lifetime of the loan.
- */
- @property (nonatomic, nullable, readonly, strong) BTPayPalCreditFinancingAmount *totalInterest;
- @end
|