BTThreeDSecurePostalAddress.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. #import <Foundation/Foundation.h>
  2. NS_ASSUME_NONNULL_BEGIN
  3. /**
  4. Postal address for 3D Secure flows
  5. */
  6. @interface BTThreeDSecurePostalAddress : NSObject <NSCopying>
  7. /**
  8. Optional. Given name associated with the address
  9. */
  10. @property (nonatomic, nullable, copy) NSString *givenName;
  11. /**
  12. Optional. Surname associated with the address
  13. */
  14. @property (nonatomic, nullable, copy) NSString *surname;
  15. /**
  16. Optional. Line 1 of the Address (eg. number, street, etc)
  17. */
  18. @property (nonatomic, nullable, copy) NSString *streetAddress;
  19. /**
  20. Optional. Line 2 of the Address (eg. suite, apt #, etc.)
  21. */
  22. @property (nonatomic, nullable, copy) NSString *extendedAddress;
  23. /**
  24. Optional. Line 3 of the Address (eg. suite, apt #, etc.)
  25. */
  26. @property (nonatomic, nullable, copy) NSString *line3;
  27. /**
  28. Optional. City name
  29. */
  30. @property (nonatomic, nullable, copy) NSString *locality;
  31. /**
  32. Optional. 2 letter code for US states, and the equivalent for other countries
  33. */
  34. @property (nonatomic, nullable, copy) NSString *region;
  35. /**
  36. Optional. Zip code or equivalent is usually required for countries that have them. For a list of countries that do not have postal codes please refer to http://en.wikipedia.org/wiki/Postal_code
  37. */
  38. @property (nonatomic, nullable, copy) NSString *postalCode;
  39. /**
  40. Optional. 2 letter country code
  41. */
  42. @property (nonatomic, nullable, copy) NSString *countryCodeAlpha2;
  43. /**
  44. Optional. The phone number associated with the address
  45. @note Only numbers. Remove dashes, parentheses and other characters
  46. */
  47. @property (nonatomic, nullable, copy) NSString *phoneNumber;
  48. /**
  49. Optional. First name associated with the address
  50. */
  51. @property (nonatomic, nullable, copy) NSString *firstName DEPRECATED_MSG_ATTRIBUTE("Use givenName instead.");
  52. /**
  53. Optional. Last name associated with the address
  54. */
  55. @property (nonatomic, nullable, copy) NSString *lastName DEPRECATED_MSG_ATTRIBUTE("Use surname instead.");
  56. @end
  57. NS_ASSUME_NONNULL_END