Exemplo n.º 1
0
 public static void SetAdditionalData(this ICCCPaymentRequest This, NSData value)
 {
     if (value == null)
     {
         throw new ArgumentNullException("value");
     }
     global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("setAdditionalData:"), value.Handle);
 }
Exemplo n.º 2
0
        public static void SetApplePayMerchantID(this ICCCPaymentRequest 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("setApplePayMerchantID:"), nsvalue);
            NSString.ReleaseNative(nsvalue);
        }
Exemplo n.º 3
0
 public static NSData GetAdditionalData(this ICCCPaymentRequest This)
 {
     return(Runtime.GetNSObject <NSData> (global::ApiDefinition.Messaging.IntPtr_objc_msgSend(This.Handle, Selector.GetHandle("additionalData"))));
 }
Exemplo n.º 4
0
 public static NSDecimalNumber GetTotal(this ICCCPaymentRequest This)
 {
     return(Runtime.GetNSObject <NSDecimalNumber> (global::ApiDefinition.Messaging.IntPtr_objc_msgSend(This.Handle, Selector.GetHandle("total"))));
 }
Exemplo n.º 5
0
 public static string GetApplePayMerchantID(this ICCCPaymentRequest This)
 {
     return(NSString.FromHandle(global::ApiDefinition.Messaging.IntPtr_objc_msgSend(This.Handle, Selector.GetHandle("applePayMerchantID"))));
 }