PaymentSDK
Mobile payment SDK
|
Style class for WDCardPayment method. More...
#import <WDCardStyle.h>
Properties | |
NSString * | cardholderPlaceholder |
First name and last name text field used with [UITextField placeholder]. More... | |
NSString * | cardNumberPlaceholder |
Card number text field used with [UITextField placeholder]. More... | |
NSString * | expiryDatePlaceholder |
Exppiry date text field used with [UITextField placeholder]. More... | |
NSString * | securityCodePlaceholder |
Security code text field used with [UITextField placeholder]. More... | |
NSString * | scanTitle |
Scan title used with [UIBarButtonItem initWithTitle:style:target:action:]. More... | |
BOOL | scanButtonHidden |
Scan button visibility in toolbar. More... | |
WDCardStyleLayout | layout |
Animated card in full screen card payment. More... | |
NSSet< NSNumber * > * | supportedCardBrands |
Set of supported card brands. More... | |
Properties inherited from WDNativeStyle | |
UILabel * | orderLabelStyled |
UILabel prototype. More... | |
NSString * | orderLabelText |
Order Total label value used by [UILabel text]. More... | |
UILabel * | labelStyled |
UILabel prototype. More... | |
UITextField * | textFieldStyled |
UITextField prototype. More... | |
UIButton * | submitButtonStyled |
Submit button prototype. More... | |
NSString * | submitButtonTitle |
Submit button title used by [UIButton setTitle:forState:]. More... | |
UIView * | underlineViewStyled |
security code underline UIView prototype. More... | |
Properties inherited from WDBaseStyle | |
UIView * | mainViewStyled |
main UIView prototype. More... | |
UIView * | headerViewStyled |
header UIView prototype. More... | |
UILabel * | headerLabelStyled |
Card header title UILabel prototype. More... | |
NSString * | headerLabelText |
Header label value used by [UILabel text]. More... | |
UIButton * | cancelButtonStyled |
Cancel button prototype. More... | |
NSString * | cancelButtonTitle |
Cancel button title used with [cancelButton setTitle:cancelButtonTitle forState:UIControlStateNormal]. More... | |
Properties inherited from WDStyle | |
WDLocale | locale |
WDLocale enum used to localize native UI. More... | |
Additional Inherited Members | |
Public Class Methods inherited from NSObject | |
(id) | + alloc |
(Class) | + class |
(void) | + initialize |
(void) | + load |
(id) | + new |
Public Instance Methods inherited from NSObject | |
(Class) | - classForCoder |
(id) | - copy |
(void) | - dealloc |
(void) | - finalize |
(id) | - init |
(id) | - mutableCopy |
Public Instance Methods inherited from <NSObject> | |
(NSString *) | - description |
(NSUInteger) | - hash |
(BOOL) | - isEqual: |
Style class for WDCardPayment method.
|
readwritenonatomicstrong |
First name and last name text field used with [UITextField placeholder].
Overrides default localized value.
|
readwritenonatomicstrong |
Card number text field used with [UITextField placeholder].
Overrides default localized value.
|
readwritenonatomicstrong |
Exppiry date text field used with [UITextField placeholder].
Overrides default localized value.
|
readwritenonatomicassign |
Animated card in full screen card payment.
Setting this property to WDCardPaymentVCStyleAnimated shows the animated card in full screen card payment, default value is WDCardPaymentVCStyleDefault
|
readwritenonatomicassign |
Scan button visibility in toolbar.
Setting this property to YES hides the scan option in the toolbar, default value is NO
|
readwritenonatomicstrong |
Scan title used with [UIBarButtonItem initWithTitle:style:target:action:].
Overrides default localized value.
|
readwritenonatomicstrong |
Security code text field used with [UITextField placeholder].
Overrides default localized value.
Set of supported card brands.
If supportedCardBrands is set and does not contain recognized card brand of user card number the state changes to WDCardFieldStateCardUnsupported. Set can contain NSNumbers with WDCardBrand values. Example:
style.supportedCardBrands = [NSSet setWithObjects:@(WDCardBrandAmex), @(WDCardBrandMasterCard), @(WDCardBrandVisa), nil];