public static void SetExpirationDate(this ICCCCardInfo This, NSDate value) { if (value == null) { throw new ArgumentNullException("value"); } global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("setExpirationDate:"), value.Handle); }
public static void SetMaskSpacing(this ICCCCardInfo This, CCCCardMaskSpacing value) { if (IntPtr.Size == 8) { global::ApiDefinition.Messaging.void_objc_msgSend_Int64(This.Handle, Selector.GetHandle("setMaskSpacing:"), (Int64)value); } else { global::ApiDefinition.Messaging.void_objc_msgSend_int(This.Handle, Selector.GetHandle("setMaskSpacing:"), (int)value); } }
public static void SetCardNumber(this ICCCCardInfo This, string value) { if (value == null) { throw new ArgumentNullException("value"); } var nsvalue = NSString.CreateNative(value); global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("setCardNumber:"), nsvalue); NSString.ReleaseNative(nsvalue); }
public static CCCCardMaskSpacing GetMaskSpacing(this ICCCCardInfo This) { CCCCardMaskSpacing ret; if (IntPtr.Size == 8) { ret = (CCCCardMaskSpacing)global::ApiDefinition.Messaging.Int64_objc_msgSend(This.Handle, Selector.GetHandle("maskSpacing")); } else { ret = (CCCCardMaskSpacing)global::ApiDefinition.Messaging.int_objc_msgSend(This.Handle, Selector.GetHandle("maskSpacing")); } return(ret); }
public static CCCCardIssuer GetAccountType(this ICCCCardInfo This) { CCCCardIssuer ret; if (IntPtr.Size == 8) { ret = (CCCCardIssuer)global::ApiDefinition.Messaging.Int64_objc_msgSend(This.Handle, Selector.GetHandle("accountType")); } else { ret = (CCCCardIssuer)global::ApiDefinition.Messaging.int_objc_msgSend(This.Handle, Selector.GetHandle("accountType")); } return(ret); }
public static string GetCVV(this ICCCCardInfo This) { return(NSString.FromHandle(global::ApiDefinition.Messaging.IntPtr_objc_msgSend(This.Handle, Selector.GetHandle("CVV")))); }
public static NSDate GetExpirationDate(this ICCCCardInfo This) { return(Runtime.GetNSObject <NSDate> (global::ApiDefinition.Messaging.IntPtr_objc_msgSend(This.Handle, Selector.GetHandle("expirationDate")))); }
public static bool GetIsCardValid(this ICCCCardInfo This) { return(global::ApiDefinition.Messaging.bool_objc_msgSend(This.Handle, Selector.GetHandle("isCardValid"))); }
public static void SetMaskCharacter(this ICCCCardInfo This, ushort value) { global::ApiDefinition.Messaging.void_objc_msgSend_UInt16(This.Handle, Selector.GetHandle("setMaskCharacter:"), value); }
public static ushort GetMaskCharacter(this ICCCCardInfo This) { return(global::ApiDefinition.Messaging.UInt16_objc_msgSend(This.Handle, Selector.GetHandle("maskCharacter"))); }