-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPLPaymentViewController.h
35 lines (26 loc) · 995 Bytes
/
PLPaymentViewController.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//
// PLPaymentViewController.h
// Plate
//
// Created by Emile Baizel on 8/28/14.
// Copyright (c) 2014 Plate SF. All rights reserved.
//
#import <UIKit/UIKit.h>
@protocol AddPaymentModalDelegate;
@interface PLPaymentViewController : UIViewController
@property (assign, nonatomic) id <AddPaymentModalDelegate> delegate;
@property (weak, nonatomic) IBOutlet UIPickerView *pickerCardType;
@property (weak, nonatomic) IBOutlet UITextField *textCardNumber;
@property (weak, nonatomic) IBOutlet UITextField *textExpiryMonth;
@property (weak, nonatomic) IBOutlet UITextField *textExpiryYear;
@property (weak, nonatomic) IBOutlet UISwitch *switchSaveToAccount;
@property (weak, nonatomic) IBOutlet UILabel *labelSaveToAccount;
@property (assign, nonatomic) BOOL displaySaveToAccount;
- (IBAction)save:(id)sender;
- (IBAction)backgroundTapped:(id)sender;
- (IBAction)closeModal:(id)sender;
@end
@protocol AddPaymentModalDelegate <NSObject>
-(void) dismissModal;
-(void) paymentAdded;
@end