All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bugvm.apple.passkit.PKPaymentRequest Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (C) 2013-2015 RoboVM AB
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.bugvm.apple.passkit;

/**/
import java.io.*;
import java.nio.*;
import java.util.*;
import com.bugvm.objc.*;
import com.bugvm.objc.annotation.*;
import com.bugvm.objc.block.*;
import com.bugvm.rt.*;
import com.bugvm.rt.annotation.*;
import com.bugvm.rt.bro.*;
import com.bugvm.rt.bro.annotation.*;
import com.bugvm.rt.bro.ptr.*;
import com.bugvm.apple.foundation.*;
import com.bugvm.apple.uikit.*;
import com.bugvm.apple.addressbook.*;
import com.bugvm.apple.contacts.*;
/**/

/**/
/**
 * @since Available in iOS 8.0 and later.
 */
/**/
/**/@Library("PassKit") @NativeClass/**/
/**/public/**/ class /**/PKPaymentRequest/**/ 
    extends /**/NSObject/**/ 
    /**//**/ {

    /**/public static class PKPaymentRequestPtr extends Ptr {}/**/
    /**/static { ObjCRuntime.bind(PKPaymentRequest.class); }/**/
    /**//**/
    /**/
    public PKPaymentRequest() {}
    protected PKPaymentRequest(SkipInit skipInit) { super(skipInit); }
    /**/
    /**/
    @Property(selector = "merchantIdentifier")
    public native String getMerchantIdentifier();
    @Property(selector = "setMerchantIdentifier:")
    public native void setMerchantIdentifier(String v);
    @Property(selector = "countryCode")
    public native String getCountryCode();
    @Property(selector = "setCountryCode:")
    public native void setCountryCode(String v);
    @Property(selector = "supportedNetworks")
    public native @com.bugvm.rt.bro.annotation.Marshaler(PKPaymentNetwork.AsListMarshaler.class) List getSupportedNetworks();
    @Property(selector = "setSupportedNetworks:")
    public native void setSupportedNetworks(@com.bugvm.rt.bro.annotation.Marshaler(PKPaymentNetwork.AsListMarshaler.class) List v);
    @Property(selector = "merchantCapabilities")
    public native PKMerchantCapability getMerchantCapabilities();
    @Property(selector = "setMerchantCapabilities:")
    public native void setMerchantCapabilities(PKMerchantCapability v);
    @Property(selector = "paymentSummaryItems")
    public native NSArray getPaymentSummaryItems();
    @Property(selector = "setPaymentSummaryItems:")
    public native void setPaymentSummaryItems(NSArray v);
    @Property(selector = "currencyCode")
    public native String getCurrencyCode();
    @Property(selector = "setCurrencyCode:")
    public native void setCurrencyCode(String v);
    @Property(selector = "requiredBillingAddressFields")
    public native PKAddressField getRequiredBillingAddressFields();
    @Property(selector = "setRequiredBillingAddressFields:")
    public native void setRequiredBillingAddressFields(PKAddressField v);
    /**
     * @since Available in iOS 8.0 and later.
     * @deprecated Deprecated in iOS 9.0.
     */
    @Deprecated
    @Property(selector = "billingAddress")
    public native ABRecord getBillingAddress();
    /**
     * @since Available in iOS 8.0 and later.
     * @deprecated Deprecated in iOS 9.0.
     */
    @Deprecated
    @Property(selector = "setBillingAddress:", strongRef = true)
    public native void setBillingAddress(ABRecord v);
    /**
     * @since Available in iOS 9.0 and later.
     */
    @Property(selector = "billingContact")
    public native PKContact getBillingContact();
    /**
     * @since Available in iOS 9.0 and later.
     */
    @Property(selector = "setBillingContact:")
    public native void setBillingContact(PKContact v);
    @Property(selector = "requiredShippingAddressFields")
    public native PKAddressField getRequiredShippingAddressFields();
    @Property(selector = "setRequiredShippingAddressFields:")
    public native void setRequiredShippingAddressFields(PKAddressField v);
    /**
     * @since Available in iOS 8.0 and later.
     * @deprecated Deprecated in iOS 9.0.
     */
    @Deprecated
    @Property(selector = "shippingAddress")
    public native ABRecord getShippingAddress();
    /**
     * @since Available in iOS 8.0 and later.
     * @deprecated Deprecated in iOS 9.0.
     */
    @Deprecated
    @Property(selector = "setShippingAddress:", strongRef = true)
    public native void setShippingAddress(ABRecord v);
    /**
     * @since Available in iOS 9.0 and later.
     */
    @Property(selector = "shippingContact")
    public native PKContact getShippingContact();
    /**
     * @since Available in iOS 9.0 and later.
     */
    @Property(selector = "setShippingContact:")
    public native void setShippingContact(PKContact v);
    @Property(selector = "shippingMethods")
    public native NSArray getShippingMethods();
    @Property(selector = "setShippingMethods:")
    public native void setShippingMethods(NSArray v);
    /**
     * @since Available in iOS 8.3 and later.
     */
    @Property(selector = "shippingType")
    public native PKShippingType getShippingType();
    /**
     * @since Available in iOS 8.3 and later.
     */
    @Property(selector = "setShippingType:")
    public native void setShippingType(PKShippingType v);
    @Property(selector = "applicationData")
    public native NSData getApplicationData();
    @Property(selector = "setApplicationData:")
    public native void setApplicationData(NSData v);
    /**/
    /**//**/
    /**/
    
    /**/
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy