public class PKPaymentRequest extends NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
PKPaymentRequest(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static PKPaymentRequest |
alloc() |
static PKPaymentRequest |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
NSData |
applicationData()
Optional merchant-supplied information about the payment request.
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static NSArray<java.lang.String> |
availableNetworks()
The payment networks and platforms supported for in-app payment
|
org.moe.natj.general.ptr.ConstVoidPtr |
billingAddress()
Deprecated.
|
PKContact |
billingContact()
If the merchant already has a billing address on file, set it here.
|
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
java.lang.String |
countryCode()
The merchant's ISO country code.
|
java.lang.String |
couponCode()
An optional coupon code that is valid and has been applied to the payment request already.
|
java.lang.String |
currencyCode()
Currency code for this payment.
|
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
static long |
hash_static() |
PKPaymentRequest |
init() |
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
long |
merchantCapabilities()
The payment processing capabilities of the merchant.
|
java.lang.String |
merchantIdentifier()
Identifies the merchant, as previously agreed with Apple.
|
static PKPaymentRequest |
new_objc() |
static NSError |
paymentBillingAddressInvalidErrorWithKeyLocalizedDescription(java.lang.String postalAddressKey,
java.lang.String localizedDescription)
Convenience method to create a payment billing address error with the supplied CNPostalAddressKey and description
|
static NSError |
paymentContactInvalidErrorWithContactFieldLocalizedDescription(java.lang.String field,
java.lang.String localizedDescription)
Convenience method to create a payment contact error with the supplied field
You may optionally provide a localized description to be displayed to the user.
|
static NSError |
paymentCouponCodeExpiredErrorWithLocalizedDescription(java.lang.String localizedDescription)
Convenience method to create a payment coupon code expired error with the supplied description.
|
static NSError |
paymentCouponCodeInvalidErrorWithLocalizedDescription(java.lang.String localizedDescription)
Convenience method to create a payment coupon code invalid error with the supplied description.
|
static NSError |
paymentShippingAddressInvalidErrorWithKeyLocalizedDescription(java.lang.String postalAddressKey,
java.lang.String localizedDescription)
Convenience method to create a payment shipping address error with the supplied CNPostalAddressKey and description
|
static NSError |
paymentShippingAddressUnserviceableErrorWithLocalizedDescription(java.lang.String localizedDescription)
Convenience method to create a payment shipping address service error with the supplied description
|
NSArray<? extends PKPaymentSummaryItem> |
paymentSummaryItems()
Array of PKPaymentSummaryItem objects which should be presented to the user.
|
long |
requiredBillingAddressFields()
Indicates which billing address fields are required.
|
NSSet<java.lang.String> |
requiredBillingContactFields()
Indicates which billing contact fields the merchant requires in order to process a transaction.
|
long |
requiredShippingAddressFields()
Indicates which shipping address fields are required.
|
NSSet<java.lang.String> |
requiredShippingContactFields()
Indicates which shipping contact fields the merchant requires in order to process a transactions
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setApplicationData(NSData value)
Optional merchant-supplied information about the payment request.
|
void |
setBillingAddress(org.moe.natj.general.ptr.ConstVoidPtr value)
Deprecated.
|
void |
setBillingContact(PKContact value)
If the merchant already has a billing address on file, set it here.
|
void |
setCountryCode(java.lang.String value)
The merchant's ISO country code.
|
void |
setCouponCode(java.lang.String value)
An optional coupon code that is valid and has been applied to the payment request already.
|
void |
setCurrencyCode(java.lang.String value)
Currency code for this payment.
|
void |
setMerchantCapabilities(long value)
The payment processing capabilities of the merchant.
|
void |
setMerchantIdentifier(java.lang.String value)
Identifies the merchant, as previously agreed with Apple.
|
void |
setPaymentSummaryItems(NSArray<? extends PKPaymentSummaryItem> value)
Array of PKPaymentSummaryItem objects which should be presented to the user.
|
void |
setRequiredBillingAddressFields(long value)
Indicates which billing address fields are required.
|
void |
setRequiredBillingContactFields(NSSet<java.lang.String> value)
Indicates which billing contact fields the merchant requires in order to process a transaction.
|
void |
setRequiredShippingAddressFields(long value)
Indicates which shipping address fields are required.
|
void |
setRequiredShippingContactFields(NSSet<java.lang.String> value)
Indicates which shipping contact fields the merchant requires in order to process a transactions
|
void |
setShippingAddress(org.moe.natj.general.ptr.ConstVoidPtr value)
Deprecated.
|
void |
setShippingContact(PKContact value)
If the merchant already has a shipping address on file, set it here.
|
void |
setShippingContactEditingMode(long value)
Indicates the editing mode for the shipping contact.
|
void |
setShippingMethods(NSArray<? extends PKShippingMethod> value)
Shipping methods supported by the merchant.
|
void |
setShippingType(long value)
Indicates the display mode for the shipping (e.g, "Pick Up", "Ship To", "Deliver To").
|
void |
setSupportedCountries(NSSet<java.lang.String> value)
Set of two-letter ISO 3166 country codes.
|
void |
setSupportedNetworks(NSArray<java.lang.String> value)
The payment networks supported by the merchant, for example @[ PKPaymentNetworkVisa,
PKPaymentNetworkMasterCard ].
|
void |
setSupportsCouponCode(boolean value)
Indicates whether the merchant supports coupon code entry and validation.
|
static void |
setVersion_static(long aVersion) |
org.moe.natj.general.ptr.ConstVoidPtr |
shippingAddress()
Deprecated.
|
PKContact |
shippingContact()
If the merchant already has a shipping address on file, set it here.
|
long |
shippingContactEditingMode()
Indicates the editing mode for the shipping contact.
|
NSArray<? extends PKShippingMethod> |
shippingMethods()
Shipping methods supported by the merchant.
|
long |
shippingType()
Indicates the display mode for the shipping (e.g, "Pick Up", "Ship To", "Deliver To").
|
static org.moe.natj.objc.Class |
superclass_static() |
NSSet<java.lang.String> |
supportedCountries()
Set of two-letter ISO 3166 country codes.
|
NSArray<java.lang.String> |
supportedNetworks()
The payment networks supported by the merchant, for example @[ PKPaymentNetworkVisa,
PKPaymentNetworkMasterCard ].
|
boolean |
supportsCouponCode()
Indicates whether the merchant supports coupon code entry and validation.
|
static long |
version_static() |
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static PKPaymentRequest alloc()
public static PKPaymentRequest allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static NSArray<java.lang.String> availableNetworks()
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static PKPaymentRequest new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public NSData applicationData()
@Deprecated public org.moe.natj.general.ptr.ConstVoidPtr billingAddress()
public PKContact billingContact()
public java.lang.String countryCode()
public java.lang.String currencyCode()
public PKPaymentRequest init()
public long merchantCapabilities()
public java.lang.String merchantIdentifier()
public NSArray<? extends PKPaymentSummaryItem> paymentSummaryItems()
public long requiredBillingAddressFields()
public long requiredShippingAddressFields()
public void setApplicationData(NSData value)
@Deprecated public void setBillingAddress(org.moe.natj.general.ptr.ConstVoidPtr value)
public void setBillingContact(PKContact value)
public void setCountryCode(java.lang.String value)
public void setCurrencyCode(java.lang.String value)
public void setMerchantCapabilities(long value)
public void setMerchantIdentifier(java.lang.String value)
public void setPaymentSummaryItems(NSArray<? extends PKPaymentSummaryItem> value)
public void setRequiredBillingAddressFields(long value)
public void setRequiredShippingAddressFields(long value)
@Deprecated public void setShippingAddress(org.moe.natj.general.ptr.ConstVoidPtr value)
public void setShippingContact(PKContact value)
public void setShippingMethods(NSArray<? extends PKShippingMethod> value)
public void setShippingType(long value)
public void setSupportedNetworks(NSArray<java.lang.String> value)
@Deprecated public org.moe.natj.general.ptr.ConstVoidPtr shippingAddress()
public PKContact shippingContact()
public NSArray<? extends PKShippingMethod> shippingMethods()
public long shippingType()
public NSArray<java.lang.String> supportedNetworks()
public static NSError paymentBillingAddressInvalidErrorWithKeyLocalizedDescription(java.lang.String postalAddressKey, java.lang.String localizedDescription)
public static NSError paymentContactInvalidErrorWithContactFieldLocalizedDescription(java.lang.String field, java.lang.String localizedDescription)
public static NSError paymentShippingAddressInvalidErrorWithKeyLocalizedDescription(java.lang.String postalAddressKey, java.lang.String localizedDescription)
public static NSError paymentShippingAddressUnserviceableErrorWithLocalizedDescription(java.lang.String localizedDescription)
public NSSet<java.lang.String> requiredBillingContactFields()
public NSSet<java.lang.String> requiredShippingContactFields()
public void setRequiredBillingContactFields(NSSet<java.lang.String> value)
public void setRequiredShippingContactFields(NSSet<java.lang.String> value)
public void setSupportedCountries(NSSet<java.lang.String> value)
public NSSet<java.lang.String> supportedCountries()
public java.lang.String couponCode()
public static NSError paymentCouponCodeExpiredErrorWithLocalizedDescription(java.lang.String localizedDescription)
public static NSError paymentCouponCodeInvalidErrorWithLocalizedDescription(java.lang.String localizedDescription)
public void setCouponCode(java.lang.String value)
public void setShippingContactEditingMode(long value)
public void setSupportsCouponCode(boolean value)
public long shippingContactEditingMode()
public boolean supportsCouponCode()