PPOTOAuth2BrowserSwitchRequest.h 1005 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // PPOTOAuth2BrowserSwitchRequest.h
  3. // PayPalOneTouch
  4. //
  5. // Copyright © 2015 PayPal, Inc. All rights reserved.
  6. //
  7. #import "PPOTOAuth2SwitchRequest.h"
  8. @interface PPOTOAuth2BrowserSwitchRequest : PPOTOAuth2SwitchRequest
  9. /**
  10. endpoint to which the browser should be directed
  11. */
  12. @property (nonatomic) NSString *endpoint;
  13. /**
  14. the serial number extracted from the X.509 cert, which was used to encrypt the payloadEnc field.
  15. */
  16. @property (nonatomic) NSString *keyID;
  17. /**
  18. a one time unique ID generated for this payment request
  19. */
  20. @property (nonatomic, readonly) NSString *msgID;
  21. /**
  22. hexadecimal representation of 256-bit symmetric AES key
  23. */
  24. @property (nonatomic) NSString *encryptionKey;
  25. /**
  26. additional key/value pairs that OTC will add to the payload
  27. (For example, the Braintree client_token, which is required by the temporary Braintree Future Payments consent webpage.)
  28. */
  29. @property (nonatomic) NSDictionary *additionalPayloadAttributes;
  30. @property (nonatomic) NSData *certificate;
  31. @end