WePay iOS SDK  7.0.0-prerelease-1
WPPaymentInfo.h
1 //
2 // WPPaymentInfo.h
3 // WePay
4 //
5 // Created by Chaitanya Bagaria on 11/5/14.
6 // Copyright (c) 2014 WePay. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import "WPAddress.h"
14 @interface WPPaymentInfo : NSObject
15 
19 @property (nonatomic, strong, readonly) NSString *firstName;
20 
24 @property (nonatomic, strong, readonly) NSString *lastName;
25 
29 @property (nonatomic, strong, readonly) NSString *email;
30 
35 @property (nonatomic, strong, readonly) NSString *paymentDescription;
36 
40 @property (nonatomic, readonly) BOOL isVirtualTerminal;
41 
45 @property (nonatomic, strong, readonly) WPAddress *billingAddress;
46 
50 @property (nonatomic, strong, readonly) WPAddress *shippingAddress;
51 
55 @property (nonatomic, strong, readonly) id paymentMethod;
56 
60 @property (nonatomic, strong, readonly) id swiperInfo;
61 
65 @property (nonatomic, strong, readonly) id manualInfo;
66 
70 @property (nonatomic, strong, readonly) id emvInfo;
71 
72 
80 - (instancetype) initWithSwipedInfo:(id)swipedInfo;
81 
89 - (instancetype) initWithEMVInfo:(id)emvInfo;
90 
107 - (instancetype) initWithFirstName:(NSString *)firstName
108  lastName:(NSString *)lastName
109  email:(NSString *)email
110  billingAddress:(WPAddress *)billingAddress
111  shippingAddress:(WPAddress *)shippingAddress
112  cardNumber:(NSString *)cardNumber
113  cvv:(NSString *)cvv
114  expMonth:(NSString *)expMonth
115  expYear:(NSString *)expYear
116  virtualTerminal:(BOOL)virtualTerminal;
117 
123 - (void) addEmail:(NSString *)email;
124 
125 
126 @end
BOOL isVirtualTerminal
Definition: WPPaymentInfo.h:40
NSString * lastName
Definition: WPPaymentInfo.h:24
id manualInfo
Definition: WPPaymentInfo.h:65
NSString * email
Definition: WPPaymentInfo.h:29
id swiperInfo
Definition: WPPaymentInfo.h:60
id emvInfo
Definition: WPPaymentInfo.h:70
NSString * paymentDescription
Definition: WPPaymentInfo.h:35
id paymentMethod
Definition: WPPaymentInfo.h:55
WPAddress * shippingAddress
Definition: WPPaymentInfo.h:50
WPAddress * billingAddress
Definition: WPPaymentInfo.h:45
Definition: WPPaymentInfo.h:14
NSString * firstName
Definition: WPPaymentInfo.h:19
Definition: WPAddress.h:14