BTPayPalAccountNonce.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. #import <Foundation/Foundation.h>
  2. #if __has_include("BraintreeCore.h")
  3. #import "BraintreeCore.h"
  4. #else
  5. #import <BraintreeCore/BraintreeCore.h>
  6. #endif
  7. #import "BTPayPalCreditFinancing.h"
  8. /**
  9. Contains information about a PayPal payment method
  10. */
  11. @interface BTPayPalAccountNonce : BTPaymentMethodNonce
  12. /**
  13. Payer's email address
  14. */
  15. @property (nonatomic, nullable, readonly, copy) NSString *email;
  16. /**
  17. Payer's first name.
  18. */
  19. @property (nonatomic, nullable, readonly, copy) NSString *firstName;
  20. /**
  21. Payer's last name.
  22. */
  23. @property (nonatomic, nullable, readonly, copy) NSString *lastName;
  24. /**
  25. Payer's phone number.
  26. */
  27. @property (nonatomic, nullable, readonly, copy) NSString *phone;
  28. /**
  29. The billing address.
  30. */
  31. @property (nonatomic, nullable, readonly, strong) BTPostalAddress *billingAddress;
  32. /**
  33. The shipping address.
  34. */
  35. @property (nonatomic, nullable, readonly, strong) BTPostalAddress *shippingAddress;
  36. /**
  37. Client Metadata Id associated with this transaction.
  38. */
  39. @property (nonatomic, nullable, readonly, copy) NSString *clientMetadataId;
  40. /**
  41. Optional. Payer Id associated with this transaction.
  42. Will be provided for Billing Agreement and Checkout.
  43. */
  44. @property (nonatomic, nullable, readonly, copy) NSString *payerId;
  45. /**
  46. Optional. Credit financing details if the customer pays with PayPal Credit.
  47. Will be provided for Billing Agreement and Checkout.
  48. */
  49. @property (nonatomic, nullable, readonly, strong) BTPayPalCreditFinancing *creditFinancing;
  50. @end