PaymentSDK
Mobile payment SDK
iOS SDK

Classes

category  NSError(WDUtils)
 error returned by WDCompletionBlock More...
 
class  WDAddress
 Address data. More...
 
class  WDApplePayManagedPayment
 Defines ApplePay payment method. More...
 
class  WDApplePayPayment
 Defines ApplePay payment method. More...
 
class  WDBaseStyle
 Base class for formulars. More...
 
class  WDCard
 Non-sensitive card data. More...
 
protocol  <WDCardFieldDelegate>
 This protocol allows a delegate to be notified when a payment text field's contents change. More...
 
class  WDCardField
 Field for collecting card data. More...
 
class  WDCardPayment
 Defines Card payment method. More...
 
class  WDCardStyle
 Style class for WDCardPayment method. More...
 
class  WDCardToken
 Tokenized card data. More...
 
class  WDClient
 Payment processing client. More...
 
class  WDCustomerData
 Customer data to describe account holder or shipping. More...
 
class  WDNativeStyle
 Base class for native UI formulars. More...
 
class  WDNotification
 Transaction notification. More...
 
class  WDOrder
 Order data. More...
 
class  WDOrderItem
 Order item data. More...
 
class  WDPayment
 Base class of all Payment Methods. More...
 
class  WDPaymentResponse
 Payment response from ElasticEngine. More...
 
class  WDPayPalPayment
 Defines PayPal payment method. More...
 
class  WDPeriodic
 Describes how the recurring transaction is related to previous/following transaction(s) More...
 
class  WDSEPAPayment
 Defines SEPA payment method. More...
 
class  WDSEPAStyle
 Style class for WDSEPAPayment method. More...
 
class  WDStyle
 Base class of all payment methods styles. More...
 

Typedefs

typedef void(^ WDCompletionBlock) (WDPaymentResponse *_Nullable response, NSError *_Nullable error)
 

Enumerations

enum  WDErrorCode : NSInteger {
  WDErrorCodeOK = 0, WDErrorCodeGeneral = -1, WDErrorCodeNetworkIssue = -2, WDErrorCodeTransactionFailure = -3,
  WDErrorCodeUnsupportedPaymentMethod = -4, WDErrorCodeInvalidPaymentData = -5, WDErrorCodeUserCanceled = -6, WDErrorCodePaymentInProgress = -7,
  WDErrorCodeJailbrokenDevice = -8
}
 
enum  WDAttempt : NSUInteger { WDAttemptUndefined = 0, WDAttemptYes, WDAttemptNo, WDAttemptTotalNumber }
 
enum  WDCardBrand : NSUInteger {
  WDCardBrandUndefined = 0, WDCardBrandAmex, WDCardBrandAura, WDCardBrandCarteBancaire,
  WDCardBrandCarteBleue, WDCardBrandCUP, WDCardBrandDiners, WDCardBrandDiscover,
  WDCardBrandExpressCheckout, WDCardBrandHipercard, WDCardBrandJCB, WDCardBrandMaestro,
  WDCardBrandMaestroUK, WDCardBrandMasterCard, WDCardBrandMir, WDCardBrandSorocred,
  WDCardBrandUATP, WDCardBrandVisa, WDCardBrandTotalNumber
}
 
enum  WDCardFieldState : NSUInteger {
  WDCardFieldStateCardInitial = 0, WDCardFieldStateJailbrokenDevice, WDCardFieldStateCardValid, WDCardFieldStateCardUnsupported,
  WDCardFieldStateNumberEditting, WDCardFieldStateNumberIncomplete, WDCardFieldStateNumberInvalid, WDCardFieldStateNumberValid,
  WDCardFieldStateMonthEditting, WDCardFieldStateYearEditting, WDCardFieldStateExpirationDateIncomplete, WDCardFieldStateExpirationDateInvalid,
  WDCardFieldStateExpirationDateValid, WDCardFieldStateSecurityCodeEditting, WDCardFieldStateSecurityCodeIncomplete, WDCardFieldStateSecurityCodeInvalid,
  WDCardFieldStateSecurityCodeValid
}
 
enum  WDCardStyleLayout : NSUInteger { WDCardStyleLayoutDefault = 0, WDCardStyleLayoutAnimated }
 
enum  WDCountry : NSUInteger {
  WDCountryUndefined = 0, WDCountryAD, WDCountryAE, WDCountryAF,
  WDCountryAG, WDCountryAI, WDCountryAL, WDCountryAM,
  WDCountryAN, WDCountryAO, WDCountryAQ, WDCountryAR,
  WDCountryAS, WDCountryAT, WDCountryAU, WDCountryAW,
  WDCountryAX, WDCountryAZ, WDCountryBA, WDCountryBB,
  WDCountryBD, WDCountryBE, WDCountryBF, WDCountryBG,
  WDCountryBH, WDCountryBI, WDCountryBJ, WDCountryBL,
  WDCountryBM, WDCountryBN, WDCountryBO, WDCountryBQ,
  WDCountryBR, WDCountryBS, WDCountryBT, WDCountryBV,
  WDCountryBW, WDCountryBY, WDCountryBZ, WDCountryCA,
  WDCountryCC, WDCountryCD, WDCountryCF, WDCountryCG,
  WDCountryCH, WDCountryCI, WDCountryCK, WDCountryCL,
  WDCountryCM, WDCountryCN, WDCountryCO, WDCountryCR,
  WDCountryCU, WDCountryCV, WDCountryCW, WDCountryCX,
  WDCountryCY, WDCountryCZ, WDCountryDE, WDCountryDJ,
  WDCountryDK, WDCountryDM, WDCountryDO, WDCountryDZ,
  WDCountryEC, WDCountryEE, WDCountryEG, WDCountryEH,
  WDCountryER, WDCountryES, WDCountryET, WDCountryFI,
  WDCountryFJ, WDCountryFK, WDCountryFM, WDCountryFO,
  WDCountryFR, WDCountryGA, WDCountryGB, WDCountryGD,
  WDCountryGE, WDCountryGF, WDCountryGG, WDCountryGH,
  WDCountryGI, WDCountryGL, WDCountryGM, WDCountryGN,
  WDCountryGP, WDCountryGQ, WDCountryGR, WDCountryGS,
  WDCountryGT, WDCountryGU, WDCountryGW, WDCountryGY,
  WDCountryHK, WDCountryHM, WDCountryHN, WDCountryHR,
  WDCountryHS, WDCountryHT, WDCountryHU, WDCountryID,
  WDCountryIE, WDCountryIL, WDCountryIM, WDCountryIN,
  WDCountryIO, WDCountryIQ, WDCountryIR, WDCountryIS,
  WDCountryIT, WDCountryJE, WDCountryJM, WDCountryJO,
  WDCountryJP, WDCountryKE, WDCountryKG, WDCountryKH,
  WDCountryKI, WDCountryKM, WDCountryKN, WDCountryKP,
  WDCountryKR, WDCountryKW, WDCountryKY, WDCountryKZ,
  WDCountryLA, WDCountryLB, WDCountryLC, WDCountryLI,
  WDCountryLK, WDCountryLR, WDCountryLS, WDCountryLT,
  WDCountryLU, WDCountryLV, WDCountryLY, WDCountryMA,
  WDCountryMC, WDCountryMD, WDCountryME, WDCountryMF,
  WDCountryMG, WDCountryMH, WDCountryMK, WDCountryML,
  WDCountryMM, WDCountryMN, WDCountryMO, WDCountryMP,
  WDCountryMQ, WDCountryMR, WDCountryMS, WDCountryMT,
  WDCountryMU, WDCountryMV, WDCountryMW, WDCountryMX,
  WDCountryMY, WDCountryMZ, WDCountryNA, WDCountryNC,
  WDCountryNE, WDCountryNF, WDCountryNG, WDCountryNI,
  WDCountryNL, WDCountryNO, WDCountryNP, WDCountryNR,
  WDCountryNU, WDCountryNZ, WDCountryOM, WDCountryPA,
  WDCountryPE, WDCountryPF, WDCountryPG, WDCountryPH,
  WDCountryPK, WDCountryPL, WDCountryPM, WDCountryPN,
  WDCountryPR, WDCountryPS, WDCountryPT, WDCountryPW,
  WDCountryPY, WDCountryQA, WDCountryRE, WDCountryRO,
  WDCountryRS, WDCountryRU, WDCountryRW, WDCountrySA,
  WDCountrySB, WDCountrySC, WDCountrySD, WDCountrySE,
  WDCountrySG, WDCountrySH, WDCountrySI, WDCountrySJ,
  WDCountrySK, WDCountrySL, WDCountrySM, WDCountrySN,
  WDCountrySO, WDCountrySR, WDCountrySS, WDCountryST,
  WDCountrySV, WDCountrySX, WDCountrySY, WDCountrySZ,
  WDCountryTC, WDCountryTD, WDCountryTF, WDCountryTG,
  WDCountryTH, WDCountryTJ, WDCountryTK, WDCountryTL,
  WDCountryTM, WDCountryTN, WDCountryTO, WDCountryTR,
  WDCountryTT, WDCountryTV, WDCountryTW, WDCountryTZ,
  WDCountryUA, WDCountryUG, WDCountryUM, WDCountryUS,
  WDCountryUY, WDCountryUZ, WDCountryVA, WDCountryVC,
  WDCountryVE, WDCountryVG, WDCountryVI, WDCountryVN,
  WDCountryVU, WDCountryWF, WDCountryWS, WDCountryXX,
  WDCountryYE, WDCountryYT, WDCountryZA, WDCountryZM,
  WDCountryZW, WDCountryTotalNumber
}
 
enum  WDCurrency : NSUInteger {
  WDCurrencyUndefined = 0, WDCurrencyADP, WDCurrencyAED, WDCurrencyAFN,
  WDCurrencyALL, WDCurrencyAMD, WDCurrencyANG, WDCurrencyAOA,
  WDCurrencyARS, WDCurrencyAUD, WDCurrencyAWG, WDCurrencyAZN,
  WDCurrencyBAM, WDCurrencyBBD, WDCurrencyBDT, WDCurrencyBGN,
  WDCurrencyBHD, WDCurrencyBIF, WDCurrencyBMD, WDCurrencyBND,
  WDCurrencyBOB, WDCurrencyBRL, WDCurrencyBSD, WDCurrencyBTN,
  WDCurrencyBWP, WDCurrencyBYR, WDCurrencyBZD, WDCurrencyCAD,
  WDCurrencyCDF, WDCurrencyCHF, WDCurrencyCLF, WDCurrencyCLP,
  WDCurrencyCNY, WDCurrencyCOP, WDCurrencyCRC, WDCurrencyCUP,
  WDCurrencyCVE, WDCurrencyCYP, WDCurrencyCZK, WDCurrencyDEF,
  WDCurrencyDJF, WDCurrencyDKK, WDCurrencyDOP, WDCurrencyDZD,
  WDCurrencyEEK, WDCurrencyEGP, WDCurrencyERN, WDCurrencyETB,
  WDCurrencyEUR, WDCurrencyFJD, WDCurrencyFKP, WDCurrencyGBP,
  WDCurrencyGEL, WDCurrencyGGP, WDCurrencyGHS, WDCurrencyGIP,
  WDCurrencyGMD, WDCurrencyGNF, WDCurrencyGTQ, WDCurrencyGYD,
  WDCurrencyHKD, WDCurrencyHNL, WDCurrencyHRK, WDCurrencyHTG,
  WDCurrencyHUF, WDCurrencyIDR, WDCurrencyILS, WDCurrencyIMP,
  WDCurrencyINR, WDCurrencyIQD, WDCurrencyIRR, WDCurrencyISK,
  WDCurrencyJEP, WDCurrencyJMD, WDCurrencyJOD, WDCurrencyJPY,
  WDCurrencyKES, WDCurrencyKGS, WDCurrencyKHR, WDCurrencyKMF,
  WDCurrencyKPW, WDCurrencyKRW, WDCurrencyKWD, WDCurrencyKYD,
  WDCurrencyKZT, WDCurrencyLAK, WDCurrencyLBP, WDCurrencyLKR,
  WDCurrencyLRD, WDCurrencyLSL, WDCurrencyLTL, WDCurrencyLVL,
  WDCurrencyLYD, WDCurrencyM_M, WDCurrencyMAD, WDCurrencyMDL,
  WDCurrencyMGA, WDCurrencyMKD, WDCurrencyMMK, WDCurrencyMNT,
  WDCurrencyMOP, WDCurrencyMRO, WDCurrencyMTL, WDCurrencyMUR,
  WDCurrencyMVR, WDCurrencyMWK, WDCurrencyMXN, WDCurrencyMYR,
  WDCurrencyMZN, WDCurrencyNAD, WDCurrencyNGN, WDCurrencyNIO,
  WDCurrencyNOK, WDCurrencyNPR, WDCurrencyNZD, WDCurrencyOMR,
  WDCurrencyPAB, WDCurrencyPEN, WDCurrencyPGK, WDCurrencyPHP,
  WDCurrencyPKR, WDCurrencyPLN, WDCurrencyPYG, WDCurrencyQAR,
  WDCurrencyRON, WDCurrencyRSD, WDCurrencyRUB, WDCurrencyRWF,
  WDCurrencySAR, WDCurrencySBD, WDCurrencySCR, WDCurrencySDG,
  WDCurrencySEK, WDCurrencySGD, WDCurrencySHP, WDCurrencySLL,
  WDCurrencySOS, WDCurrencySPL, WDCurrencySRD, WDCurrencySTD,
  WDCurrencySVC, WDCurrencySYP, WDCurrencySZL, WDCurrencyTHB,
  WDCurrencyTJS, WDCurrencyTMM, WDCurrencyTND, WDCurrencyTOP,
  WDCurrencyTRY, WDCurrencyTTD, WDCurrencyTVD, WDCurrencyTWD,
  WDCurrencyTZS, WDCurrencyUAH, WDCurrencyUGX, WDCurrencyUNK,
  WDCurrencyUSD, WDCurrencyUYU, WDCurrencyUZS, WDCurrencyVEB,
  WDCurrencyVEF, WDCurrencyVND, WDCurrencyVUV, WDCurrencyWST,
  WDCurrencyXAF, WDCurrencyXAG, WDCurrencyXAU, WDCurrencyXCD,
  WDCurrencyXDR, WDCurrencyXOF, WDCurrencyXPD, WDCurrencyXPF,
  WDCurrencyXPT, WDCurrencyYER, WDCurrencyZAR, WDCurrencyZMK,
  WDCurrencyZWD, WDCurrencyTotalNumber
}
 
enum  WDEnvironment : NSUInteger {
  WDEnvironmentUndefined = 0, WDEnvironmentPROD, WDEnvironmentSingaporePROD, WDEnvironmentTorontoPROD,
  WDEnvironmentTEST = 100, WDEnvironmentSingaporeTEST, WDEnvironmentTorontoTEST, WDEnvironmentTotalNumber
}
 
enum  WDGender : NSUInteger { WDGenderUndefined = 0, WDGenderMale, WDGenderFemale, WDGenderTotalNumber }
 
enum  WDLocale : NSUInteger {
  WDLocaleUndefined = 0, WDLocale_af, WDLocale_ar, WDLocale_az,
  WDLocale_be, WDLocale_bg, WDLocale_bn, WDLocale_ca,
  WDLocale_cs, WDLocale_cy, WDLocale_da, WDLocale_de,
  WDLocale_el, WDLocale_en, WDLocale_eo, WDLocale_es,
  WDLocale_et, WDLocale_eu, WDLocale_fa, WDLocale_fi,
  WDLocale_fr, WDLocale_ga, WDLocale_gl, WDLocale_gu,
  WDLocale_hi, WDLocale_hr, WDLocale_ht, WDLocale_hu,
  WDLocale_hy, WDLocale_id, WDLocale_is, WDLocale_it,
  WDLocale_iw, WDLocale_ja, WDLocale_ka, WDLocale_kn,
  WDLocale_ko, WDLocale_la, WDLocale_lt, WDLocale_lv,
  WDLocale_mk, WDLocale_ms, WDLocale_mt, WDLocale_nl,
  WDLocale_no, WDLocale_pl, WDLocale_pt, WDLocale_ro,
  WDLocale_ru, WDLocale_sk, WDLocale_sl, WDLocale_sq,
  WDLocale_sr, WDLocale_sv, WDLocale_sw, WDLocale_ta,
  WDLocale_te, WDLocale_th, WDLocale_tl, WDLocale_tr,
  WDLocale_uk, WDLocale_ur, WDLocale_vi, WDLocale_yi,
  WDLocale_zh_CN, WDLocale_zh_TW, WDLocaleTotalNumber
}
 
enum  WDPeriodicType : NSUInteger { WDPeriodicTypeUndefined = 0, WDPeriodicTypeInstallment, WDPeriodicTypeRecurring, WDPeriodicTypeTotalNumber }
 
enum  WDSequenceType : NSUInteger {
  WDSequenceTypeUndefined = 0, WDSequenceTypeFirst, WDSequenceTypeRecurring, WDSequenceTypeFinal,
  WDSequenceTypeTotalNumber
}
 
enum  WDTransactionState : NSUInteger {
  WDTransactionStateUndefined = 0, WDTransactionStateSuccess, WDTransactionStateFailed, WDTransactionStateInProgress,
  WDTransactionStateRepeated, WDTransactionStateTotalNumber
}
 
enum  WDTransactionType : NSUInteger {
  WDTransactionTypeUndefined = 0, WDTransactionTypeAuthorization, WDTransactionTypeAuthorizationOnly, WDTransactionTypeCaptureAuthorization,
  WDTransactionTypeDebit, WDTransactionTypePendingDebit, WDTransactionTypePurchase, WDTransactionTypeReferencedAuthorization,
  WDTransactionTypeReferencedPurchase, WDTransactionTypeRefundCapture, WDTransactionTypeRefundDebit, WDTransactionTypeRefundPurchase,
  WDTransactionTypeVoidAuthorization, WDTransactionTypeTotalNumber
}
 

Functions

WDAttempt WDAttemptThreeDFromCode (NSString *code)
 Converts attempt 3D string representation to WDAttempt enumeration. More...
 
NSStringWDAttemptThreeDGetCode (WDAttempt attempt)
 Converts attempt 3D WDAttempt enumeration to string representation. More...
 
WDCardBrand WDCardBrandFromCode (NSString *code)
 Converts card brand string representation to WDCardBrand enumeration. More...
 
NSStringWDCardBrandGetCode (WDCardBrand cardBrand)
 Converts card brand WDCardBrand enumeration to string representation. More...
 
NSStringWDCountryGetISOCode (WDCountry country)
 
WDCountry WDCountryFromISOCode (NSString *code)
 
NSStringWDCurrencyGetISOCode (WDCurrency currency)
 
WDCurrency WDCurrencyFromISOCode (NSString *code)
 
WDTransactionType WDTransactionTypeFromCode (NSString *code)
 Converts transaction type string representation to WDTransactionType enumeration. More...
 
NSStringWDTransactionTypeGetCode (WDTransactionType transactionType)
 Converts transaction type WDTransactionType enumeration to string representation. More...
 

Variables

NSString *_Nonnull const WDPaymentSDKErrorDomain
 
FOUNDATION_EXPORT double PaymentSDKVersionNumber
 Project version number for PaymentSDK. More...
 
FOUNDATION_EXPORT const unsigned char PaymentSDKVersionString []
 Project version string for PaymentSDK. More...
 

Detailed Description

Typedef Documentation

typedef void(^ WDCompletionBlock) (WDPaymentResponse *_Nullable response, NSError *_Nullable error)

Transaction completion block with response from ElasticEngine or error occoured during transaction

Parameters
responsethe response from ElasticEngine.
erroroccoured during transaction.

Enumeration Type Documentation

List of attempt 3D states

Enumerator
WDAttemptUndefined 

Uninitialized or invalid value

WDAttemptYes 

Provide 3D secure authentication if possible

WDAttemptNo 

Avoid 3D secure authentication

WDAttemptTotalNumber 

Total number of values. It is used for validation and handled as invalid value

List of card brands

Enumerator
WDCardBrandUndefined 

Uninitialized or invalid value

WDCardBrandAmex 
WDCardBrandAura 
WDCardBrandCarteBancaire 
WDCardBrandCarteBleue 
WDCardBrandCUP 
WDCardBrandDiners 
WDCardBrandDiscover 
WDCardBrandExpressCheckout 
WDCardBrandHipercard 
WDCardBrandJCB 
WDCardBrandMaestro 
WDCardBrandMaestroUK 
WDCardBrandMasterCard 
WDCardBrandMir 
WDCardBrandSorocred 
WDCardBrandUATP 
WDCardBrandVisa 
WDCardBrandTotalNumber 

Total number of values. It is used for validation and handled as invalid value

WDCardField states emitted during user interacion

Enumerator
WDCardFieldStateCardInitial 

Initial state and state after -[WDCardField clear]

WDCardFieldStateJailbrokenDevice 

User's device is jailbroken

WDCardFieldStateCardValid 

User entered valid card data

WDCardFieldStateCardUnsupported 

User is trying to type unsupported card type

WDCardFieldStateNumberEditting 

Card number UITextField is first responder

WDCardFieldStateNumberIncomplete 

Card number is incomplete

WDCardFieldStateNumberInvalid 

Card number is invalid

WDCardFieldStateNumberValid 

User entered valid card number

WDCardFieldStateMonthEditting 

Expiration month UITextField is first responder

WDCardFieldStateYearEditting 

Expiration year UITextField is first responder

WDCardFieldStateExpirationDateIncomplete 

Expiration date is incomplete

WDCardFieldStateExpirationDateInvalid 

Expiration date is invalid

WDCardFieldStateExpirationDateValid 

User entered valid expiration date

WDCardFieldStateSecurityCodeEditting 

Security code UITextField became first responder

WDCardFieldStateSecurityCodeIncomplete 

Security code is incomplete

WDCardFieldStateSecurityCodeInvalid 

Security code is invalid

WDCardFieldStateSecurityCodeValid 

Security code is valid

Enumerator
WDCardStyleLayoutDefault 
WDCardStyleLayoutAnimated 

List of countries supported by ElasticEngine

Enumerator
WDCountryUndefined 

Uninitialized or invalid value

WDCountryAD 

ANDORRA

WDCountryAE 

UNITED ARAB EMIRATES

WDCountryAF 

AFGHANISTAN

WDCountryAG 

ANTIGUA AND BARBUDA

WDCountryAI 

ANGUILLA

WDCountryAL 

ALBANIA

WDCountryAM 

ARMENIA

WDCountryAN 

NETHERLANDS ANTILLES

WDCountryAO 

ANGOLA

WDCountryAQ 

ANTARCTICA

WDCountryAR 

ARGENTINA

WDCountryAS 

AMERICAN SAMOA

WDCountryAT 

AUSTRIA

WDCountryAU 

AUSTRALIA

WDCountryAW 

ARUBA

WDCountryAX 

Åland Islands

WDCountryAZ 

AZERBAIJAN

WDCountryBA 

BOSNIA AND HERZEGOVINA

WDCountryBB 

BARBADOS

WDCountryBD 

BANGLADESH

WDCountryBE 

BELGIUM

WDCountryBF 

BURKINA FASO

WDCountryBG 

BULGARIA

WDCountryBH 

BAHRAIN

WDCountryBI 

BURUNDI

WDCountryBJ 

BENIN

WDCountryBL 

Saint-Barthélemy

WDCountryBM 

BERMUDA

WDCountryBN 

BRUNEI DARUSSALAM

WDCountryBO 

BOLIVIA, PLURINATIONAL STATE OF

WDCountryBQ 

BONAIRE SINT EUSTATIUS AND SABA

WDCountryBR 

BRAZIL

WDCountryBS 

BAHAMAS

WDCountryBT 

BHUTAN

WDCountryBV 

BOUVET ISLAND

WDCountryBW 

BOTSWANA

WDCountryBY 

BELARUS

WDCountryBZ 

BELIZE

WDCountryCA 

CANADA

WDCountryCC 

COCOS (KEELING) ISLANDS

WDCountryCD 

CONGO, THE DEMOCRATIC REPUBLIC OF THE

WDCountryCF 

CENTRAL AFRICAN REPUBLIC

WDCountryCG 

CONGO

WDCountryCH 

SWITZERLAND

WDCountryCI 

Côte d’Ivoire

WDCountryCK 

COOK ISLANDS

WDCountryCL 

CHILE

WDCountryCM 

CAMEROON

WDCountryCN 

CHINA

WDCountryCO 

COLOMBIA

WDCountryCR 

COSTA RICA

WDCountryCU 

CUBA

WDCountryCV 

CAPE VERDE

WDCountryCW 

CURACAO

WDCountryCX 

CHRISTMAS ISLAND

WDCountryCY 

CYPRUS

WDCountryCZ 

CZECH REPUBLIC

WDCountryDE 

GERMANY

WDCountryDJ 

DJIBOUTI

WDCountryDK 

DENMARK

WDCountryDM 

DOMINICA

WDCountryDO 

DOMINICAN REPUBLIC

WDCountryDZ 

ALGERIA

WDCountryEC 

ECUADOR

WDCountryEE 

ESTONIA

WDCountryEG 

EGYPT

WDCountryEH 

WESTERN SAHARA

WDCountryER 

ERITREA

WDCountryES 

SPAIN

WDCountryET 

ETHIOPIA

WDCountryFI 

FINLAND

WDCountryFJ 

FIJI

WDCountryFK 

FALKLAND ISLANDS (MALVINAS)

WDCountryFM 

MICRONESIA, FEDERATED STATES OF

WDCountryFO 

FAROE ISLANDS

WDCountryFR 

FRANCE

WDCountryGA 

GABON

WDCountryGB 

UNITED KINGDOM

WDCountryGD 

GRENADA

WDCountryGE 

GEORGIA

WDCountryGF 

FRENCH GUIANA

WDCountryGG 

GUERNSEY

WDCountryGH 

GHANA

WDCountryGI 

GIBRALTAR

WDCountryGL 

GREENLAND

WDCountryGM 

GAMBIA

WDCountryGN 

GUINEA

WDCountryGP 

GUADELOUPE

WDCountryGQ 

EQUATORIAL GUINEA

WDCountryGR 

GREECE

WDCountryGS 

SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS

WDCountryGT 

GUATEMALA

WDCountryGU 

GUAM

WDCountryGW 

GUINEA-BISSAU

WDCountryGY 

GUYANA

WDCountryHK 

HONG KONG

WDCountryHM 

HEARD ISLAND AND MCDONALD ISLANDS

WDCountryHN 

HONDURAS

WDCountryHR 

CROATIA

WDCountryHS 

VATICAN CITY STATE

WDCountryHT 

HAITI

WDCountryHU 

HUNGARY

WDCountryID 

INDONESIA

WDCountryIE 

IRELAND

WDCountryIL 

ISRAEL

WDCountryIM 

ISLE OF MAN

WDCountryIN 

INDIA

WDCountryIO 

BRITISH INDIAN OCEAN TERRITORY

WDCountryIQ 

IRAQ

WDCountryIR 

IRAN, ISLAMIC REPUBLIC OF

WDCountryIS 

ICELAND

WDCountryIT 

ITALY

WDCountryJE 

JERSEY

WDCountryJM 

JAMAICA

WDCountryJO 

JORDAN

WDCountryJP 

JAPAN

WDCountryKE 

KENYA

WDCountryKG 

KYRGYZSTAN

WDCountryKH 

CAMBODIA

WDCountryKI 

KIRIBATI

WDCountryKM 

COMOROS

WDCountryKN 

SAINT KITTS AND NEVIS

WDCountryKP 

KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF

WDCountryKR 

KOREA, REPUBLIC OF

WDCountryKW 

KUWAIT

WDCountryKY 

CAYMAN ISLANDS

WDCountryKZ 

KAZAKHSTAN

WDCountryLA 

LAO PEOPLE'S DEMOCRATIC REPUBLIC

WDCountryLB 

LEBANON

WDCountryLC 

SAINT LUCIA

WDCountryLI 

LIECHTENSTEIN

WDCountryLK 

SRI LANKA

WDCountryLR 

LIBERIA

WDCountryLS 

LESOTHO

WDCountryLT 

LITHUANIA

WDCountryLU 

LUXEMBOURG

WDCountryLV 

LATVIA

WDCountryLY 

LIBYAN ARAB JAMAHIRIYA

WDCountryMA 

MOROCCO

WDCountryMC 

MONACO

WDCountryMD 

MOLDOVA, REPUBLIC OF

WDCountryME 

MONTENEGRO

WDCountryMF 

SAINT MARTIN

WDCountryMG 

MADAGASCAR

WDCountryMH 

MARSHALL ISLANDS

WDCountryMK 

MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF

WDCountryML 

MALI

WDCountryMM 

MYANMAR

WDCountryMN 

MONGOLIA

WDCountryMO 

MACAO

WDCountryMP 

NORTHERN MARIANA ISLANDS

WDCountryMQ 

MARTINIQUE

WDCountryMR 

MAURITANIA

WDCountryMS 

MONTSERRAT

WDCountryMT 

MALTA

WDCountryMU 

MAURITIUS

WDCountryMV 

MALDIVES

WDCountryMW 

MALAWI

WDCountryMX 

MEXICO

WDCountryMY 

MALAYSIA

WDCountryMZ 

MOZAMBIQUE

WDCountryNA 

NAMIBIA

WDCountryNC 

NEW CALEDONIA

WDCountryNE 

NIGER

WDCountryNF 

NORFOLK ISLAND

WDCountryNG 

NIGERIA

WDCountryNI 

NICARAGUA

WDCountryNL 

NETHERLANDS

WDCountryNO 

NORWAY

WDCountryNP 

NEPAL

WDCountryNR 

NAURU

WDCountryNU 

NIUE

WDCountryNZ 

NEW ZEALAND

WDCountryOM 

OMAN

WDCountryPA 

PANAMA

WDCountryPE 

PERU

WDCountryPF 

FRENCH POLYNESIA

WDCountryPG 

PAPUA NEW GUINEA

WDCountryPH 

PHILIPPINES

WDCountryPK 

PAKISTAN

WDCountryPL 

POLAND

WDCountryPM 

SAINT PIERRE AND MIQUELON

WDCountryPN 

PITCAIRN

WDCountryPR 

PUERTO RICO

WDCountryPS 

PALESTINIAN TERRITORY, OCCUPIED

WDCountryPT 

PORTUGAL

WDCountryPW 

PALAU

WDCountryPY 

PARAGUAY

WDCountryQA 

QATAR

WDCountryRE 

Réunion

WDCountryRO 

ROMANIA

WDCountryRS 

SERBIA

WDCountryRU 

RUSSIAN FEDERATION

WDCountryRW 

RWANDA

WDCountrySA 

SAUDI ARABIA

WDCountrySB 

SOLOMON ISLANDS

WDCountrySC 

SEYCHELLES

WDCountrySD 

SUDAN

WDCountrySE 

SWEDEN

WDCountrySG 

SINGAPORE

WDCountrySH 

SAINT HELENA, ASCENSION AND TRISTAN DA CUNHA

WDCountrySI 

SLOVENIA

WDCountrySJ 

SVALBARD AND JAN MAYEN

WDCountrySK 

SLOVAKIA

WDCountrySL 

SIERRA LEONE

WDCountrySM 

SAN MARINO

WDCountrySN 

SENEGAL

WDCountrySO 

SOMALIA

WDCountrySR 

SURINAME

WDCountrySS 

SOUTH SUDAN

WDCountryST 

SAO TOME AND PRINCIPE

WDCountrySV 

EL SALVADOR

WDCountrySX 

SINT MAARTEN (DUTCH PART)

WDCountrySY 

SYRIAN ARAB REPUBLIC

WDCountrySZ 

SWAZILAND

WDCountryTC 

TURKS AND CAICOS ISLANDS

WDCountryTD 

CHAD

WDCountryTF 

FRENCH SOUTHERN TERRITORIES

WDCountryTG 

TOGO

WDCountryTH 

THAILAND

WDCountryTJ 

TAJIKISTAN

WDCountryTK 

TOKELAU

WDCountryTL 

TIMOR-LESTE

WDCountryTM 

TURKMENISTAN

WDCountryTN 

TUNISIA

WDCountryTO 

TONGA

WDCountryTR 

TURKEY

WDCountryTT 

TRINIDAD AND TOBAGO

WDCountryTV 

TUVALU

WDCountryTW 

TAIWAN, PROVINCE OF CHINA

WDCountryTZ 

TANZANIA, UNITED REPUBLIC OF

WDCountryUA 

UKRAINE

WDCountryUG 

UGANDA

WDCountryUM 

UNITED STATES MINOR OUTLYING ISLANDS

WDCountryUS 

UNITED STATES

WDCountryUY 

URUGUAY

WDCountryUZ 

UZBEKISTAN

WDCountryVA 

HOLY SEE (VATICAN CITY STATE)

WDCountryVC 

SAINT VINCENT AND THE GRENADINES

WDCountryVE 

VENEZUELA, BOLIVARIAN REPUBLIC OF

WDCountryVG 

VIRGIN ISLANDS, BRITISH

WDCountryVI 

VIRGIN ISLANDS, U.S.

WDCountryVN 

VIET NAM

WDCountryVU 

VANUATU

WDCountryWF 

WALLIS AND FUTUNA

WDCountryWS 

SAMOA

WDCountryXX 

NULL

WDCountryYE 

YEMEN

WDCountryYT 

MAYOTTE

WDCountryZA 

SOUTH AFRICA

WDCountryZM 

ZAMBIA

WDCountryZW 

ZIMBABWE

WDCountryTotalNumber 

Total number of values. It is used for validation and handled as invalid value

List of currencies supported by ElasticEngine

Enumerator
WDCurrencyUndefined 

Uninitialized or invalid value

WDCurrencyADP 

Andorran Peseta

WDCurrencyAED 

Dirhams

WDCurrencyAFN 

Afghanis

WDCurrencyALL 

Leke

WDCurrencyAMD 

Drams

WDCurrencyANG 

Guilders (also called Florins)

WDCurrencyAOA 

Kwanza

WDCurrencyARS 

Pesos

WDCurrencyAUD 

Dollars

WDCurrencyAWG 

Guilders (also called Florins)

WDCurrencyAZN 

New Manats

WDCurrencyBAM 

Convertible Marka

WDCurrencyBBD 

Dollars

WDCurrencyBDT 

Taka

WDCurrencyBGN 

Leva

WDCurrencyBHD 

Dinars

WDCurrencyBIF 

Francs

WDCurrencyBMD 

Dollars

WDCurrencyBND 

Dollars

WDCurrencyBOB 

Bolivianos

WDCurrencyBRL 

Brazil Real

WDCurrencyBSD 

Dollars

WDCurrencyBTN 

Ngultrum

WDCurrencyBWP 

Pulas

WDCurrencyBYR 

Rubles

WDCurrencyBZD 

Dollars

WDCurrencyCAD 

Dollars

WDCurrencyCDF 

Congolese Francs

WDCurrencyCHF 

Francs

WDCurrencyCLF 

Unidades de formento

WDCurrencyCLP 

Pesos

WDCurrencyCNY 

Yuan Renminbi

WDCurrencyCOP 

Pesos

WDCurrencyCRC 

Colones

WDCurrencyCUP 

Pesos

WDCurrencyCVE 

Escudos

WDCurrencyCYP 

Pounds (expires 2008-Jan-31)

WDCurrencyCZK 

Koruny

WDCurrencyDEF 

Default

WDCurrencyDJF 

Francs

WDCurrencyDKK 

Kroner

WDCurrencyDOP 

Pesos

WDCurrencyDZD 

Algeria Dinars

WDCurrencyEEK 

Krooni

WDCurrencyEGP 

Pounds

WDCurrencyERN 

Nakfa

WDCurrencyETB 

Birr

WDCurrencyEUR 

Euro

WDCurrencyFJD 

Dollars

WDCurrencyFKP 

Pounds

WDCurrencyGBP 

Pounds

WDCurrencyGEL 

Lari

WDCurrencyGGP 

Pounds

WDCurrencyGHS 

Cedis

WDCurrencyGIP 

Pounds

WDCurrencyGMD 

Dalasi

WDCurrencyGNF 

Francs

WDCurrencyGTQ 

Quetzales

WDCurrencyGYD 

Dollars

WDCurrencyHKD 

Dollars

WDCurrencyHNL 

Lempiras

WDCurrencyHRK 

Kuna

WDCurrencyHTG 

Gourdes

WDCurrencyHUF 

Forint

WDCurrencyIDR 

Rupiahs

WDCurrencyILS 

New Shekels

WDCurrencyIMP 

Pounds

WDCurrencyINR 

Rupees

WDCurrencyIQD 

Dinars

WDCurrencyIRR 

Rials

WDCurrencyISK 

Kronur

WDCurrencyJEP 

Pounds

WDCurrencyJMD 

Dollars

WDCurrencyJOD 

Dinars

WDCurrencyJPY 

Yen

WDCurrencyKES 

Shillings

WDCurrencyKGS 

Soms

WDCurrencyKHR 

Riels

WDCurrencyKMF 

Francs

WDCurrencyKPW 

Won

WDCurrencyKRW 

Won

WDCurrencyKWD 

Dinars

WDCurrencyKYD 

Dollars

WDCurrencyKZT 

Tenge

WDCurrencyLAK 

Kips

WDCurrencyLBP 

Pounds

WDCurrencyLKR 

Rupees

WDCurrencyLRD 

Dollars

WDCurrencyLSL 

Maloti

WDCurrencyLTL 

Litai

WDCurrencyLVL 

Lati

WDCurrencyLYD 

Dinars

WDCurrencyM_M 

Airline Miles

WDCurrencyMAD 

Dirhams

WDCurrencyMDL 

Lei

WDCurrencyMGA 

Ariary

WDCurrencyMKD 

Denars

WDCurrencyMMK 

Kyats

WDCurrencyMNT 

Tugriks

WDCurrencyMOP 

Patacas

WDCurrencyMRO 

Ouguiyas

WDCurrencyMTL 

Liri (expires 2008-Jan-31)

WDCurrencyMUR 

Rupees

WDCurrencyMVR 

Rufiyaa

WDCurrencyMWK 

Kwachas

WDCurrencyMXN 

Pesos

WDCurrencyMYR 

Ringgits

WDCurrencyMZN 

Meticais

WDCurrencyNAD 

Dollars

WDCurrencyNGN 

Nairas

WDCurrencyNIO 

Cordobas

WDCurrencyNOK 

Krone

WDCurrencyNPR 

Nepal Rupees

WDCurrencyNZD 

Dollars

WDCurrencyOMR 

Rials

WDCurrencyPAB 

Balboa

WDCurrencyPEN 

Nuevos Soles

WDCurrencyPGK 

Kina

WDCurrencyPHP 

Pesos

WDCurrencyPKR 

Rupees

WDCurrencyPLN 

Zlotych

WDCurrencyPYG 

Guarani

WDCurrencyQAR 

Rials

WDCurrencyRON 

New Lei

WDCurrencyRSD 

Dinars

WDCurrencyRUB 

Rubles

WDCurrencyRWF 

Rwanda Francs

WDCurrencySAR 

Riyals

WDCurrencySBD 

Dollars

WDCurrencySCR 

Rupees

WDCurrencySDG 

Pounds

WDCurrencySEK 

Kronor

WDCurrencySGD 

Dollars

WDCurrencySHP 

Pounds

WDCurrencySLL 

Leones

WDCurrencySOS 

Shillings

WDCurrencySPL 

Luigini

WDCurrencySRD 

Dollars

WDCurrencySTD 

Dobras

WDCurrencySVC 

Colones

WDCurrencySYP 

Pounds

WDCurrencySZL 

Emalangeni

WDCurrencyTHB 

Baht

WDCurrencyTJS 

Somoni

WDCurrencyTMM 

Manats

WDCurrencyTND 

Dinars

WDCurrencyTOP 

Pa’anga

WDCurrencyTRY 

New Lira

WDCurrencyTTD 

Dollars

WDCurrencyTVD 

Tuvalu Dollars

WDCurrencyTWD 

New Dollars

WDCurrencyTZS 

Shillings

WDCurrencyUAH 

Hryvnia

WDCurrencyUGX 

Shillings

WDCurrencyUNK 

Unknown

WDCurrencyUSD 

Dollars

WDCurrencyUYU 

Pesos

WDCurrencyUZS 

Sums

WDCurrencyVEB 

Bolivares (expires 2008-Jun-30)

WDCurrencyVEF 

Bolivares Fuertes

WDCurrencyVND 

Dong

WDCurrencyVUV 

Vatu

WDCurrencyWST 

Tala

WDCurrencyXAF 

Francs

WDCurrencyXAG 

Ounces

WDCurrencyXAU 

Ounces

WDCurrencyXCD 

Dollars

WDCurrencyXDR 

IMF

WDCurrencyXOF 

Francs

WDCurrencyXPD 

Ounces

WDCurrencyXPF 

Francs

WDCurrencyXPT 

Ounces

WDCurrencyYER 

Rials

WDCurrencyZAR 

Rand

WDCurrencyZMK 

Kwacha

WDCurrencyZWD 

Zimbabwe Dollars

WDCurrencyTotalNumber 

Total number of values. It is used for validation and handled as invalid value

List of supported environments

Enumerator
WDEnvironmentUndefined 

Uninitialized or invalid value

WDEnvironmentPROD 

Production environment

WDEnvironmentSingaporePROD 

Singapore production environment

WDEnvironmentTorontoPROD 

Toronto production environment

WDEnvironmentTEST 

Test/Sandbox environment

WDEnvironmentSingaporeTEST 

Singapore test/sandbox environment

WDEnvironmentTorontoTEST 

Toronto test/sandbox environment

WDEnvironmentTotalNumber 

Total number of environments. It is used for validation and handled as invalid value

Error codes

Enumerator
WDErrorCodeOK 

Uninitialized value or no error

WDErrorCodeGeneral 

General Error, always contains english description

WDErrorCodeNetworkIssue 

Network related issue, SSL pinning issue, ATS, ...)

WDErrorCodeTransactionFailure 

Transaction has failed

WDErrorCodeUnsupportedPaymentMethod 

Payment method is not supported

WDErrorCodeInvalidPaymentData 

Invalid payment data

WDErrorCodeUserCanceled 

User has canceled payment

WDErrorCodePaymentInProgress 

Another payment is in progress

WDErrorCodeJailbrokenDevice 

Device is jailbroken

Gender

Enumerator
WDGenderUndefined 

Uninitialized or invalid value

WDGenderMale 

Male

WDGenderFemale 

Female

WDGenderTotalNumber 

Total number of values. It is used for validation and handled as invalid value

List of Locales supported by ElasticEngine

Enumerator
WDLocaleUndefined 

Uninitialized or invalid value

WDLocale_af 

Afrikaans Afrikaans

WDLocale_ar 

Arabic عربي

WDLocale_az 

Azerbaijani Azərbaycan

WDLocale_be 

Belarusian Беларускія

WDLocale_bg 

Bulgarian Български

WDLocale_bn 

Bengali বাঙ্গালী

WDLocale_ca 

Catalan català

WDLocale_cs 

Czech Česky

WDLocale_cy 

Welsh Cymraeg

WDLocale_da 

Danish Dansk

WDLocale_de 

German Deutsch

WDLocale_el 

Greek Ελληνικά

WDLocale_en 

English English

WDLocale_eo 

Esperanto Esperanto

WDLocale_es 

Spanish Español

WDLocale_et 

Estonian Eesti

WDLocale_eu 

Basque Euskal

WDLocale_fa 

Persian پارسی

WDLocale_fi 

Finnish Suomi

WDLocale_fr 

French Français

WDLocale_ga 

Irish Gaeilge

WDLocale_gl 

Galician Galicia

WDLocale_gu 

Gujarati ગુજરાતી

WDLocale_hi 

Hindi हिन्दी भाषा

WDLocale_hr 

Croatian Hrvat

WDLocale_ht 

Haitian Creole kreyòl ayisyen

WDLocale_hu 

Hungarian Magyar

WDLocale_hy 

Armenian հայերեն

WDLocale_id 

Indonesian Bahasa Indonesia

WDLocale_is 

Icelandic Icelandic

WDLocale_it 

Italian Italiano

WDLocale_iw 

Hebrew עברית

WDLocale_ja 

Japanese 日本語

WDLocale_ka 

Georgian საქართველოს

WDLocale_kn 

Kannadac Kannadac

WDLocale_ko 

Korean 한국어

WDLocale_la 

Latin lingua latina

WDLocale_lt 

Lithuanian lietuvis

WDLocale_lv 

Latvian latvietis

WDLocale_mk 

Macedonian македонски

WDLocale_ms 

Malay Melayu

WDLocale_mt 

Maltese Malti

WDLocale_nl 

Dutch Nederlands

WDLocale_no 

Norwegian Norsk

WDLocale_pl 

Polish Polski

WDLocale_pt 

Portuguese Português

WDLocale_ro 

Romanian Română

WDLocale_ru 

Russian Русский

WDLocale_sk 

Slovak slovenčina

WDLocale_sl 

Slovenian Slovenski jezik

WDLocale_sq 

Albanian shqiptar

WDLocale_sr 

Serbian Србин

WDLocale_sv 

Swedish Svenska

WDLocale_sw 

Swahili Svahili

WDLocale_ta 

Tamil தமிழ்

WDLocale_te 

Telugu తెలుగు

WDLocale_th 

Thai ภาษาไทย

WDLocale_tl 

Filipino Pilipino

WDLocale_tr 

Turkish Türkçe

WDLocale_uk 

Ukrainian Українська

WDLocale_ur 

Urdu اردو

WDLocale_vi 

Vietnamese ngôn ngư Việt nam

WDLocale_yi 

Yiddish ייִדיש

WDLocale_zh_CN 

Chinese (Simplified) 中文(简体)

WDLocale_zh_TW 

Chinese (Traditional) 中文(繁体)

WDLocaleTotalNumber 

Total number of values. It is used for validation and handled as invalid value

Indicates how and why a transaction occurs more than once

Enumerator
WDPeriodicTypeUndefined 

Uninitialized or invalid value

WDPeriodicTypeInstallment 

Completes a financial transaction

WDPeriodicTypeRecurring 

Occurs repeatedly, such as a subscription

WDPeriodicTypeTotalNumber 

Total number of values. It is used for validation and handled as invalid value

Indicates the sequence of the recurring transaction

Enumerator
WDSequenceTypeUndefined 

Uninitialized or invalid value

WDSequenceTypeFirst 

The first transaction in a series of recurring transactions

WDSequenceTypeRecurring 

A transaction that is part of a series of recurring transactions

WDSequenceTypeFinal 

The final transaction in a series of recurring transactions. A payment with this sequence type completes a chain of recurring payments.

WDSequenceTypeTotalNumber 

Total number of values. It is used for validation and handled as invalid value

List of transaction states

Enumerator
WDTransactionStateUndefined 

Uninitialized or invalid value

WDTransactionStateSuccess 

Successful state

WDTransactionStateFailed 

Failure state

WDTransactionStateInProgress 

In-progress state

WDTransactionStateRepeated 

Repeated state

WDTransactionStateTotalNumber 

Total number of values. It is used for validation and handled as invalid value

List of transaction types

Enumerator
WDTransactionTypeUndefined 

Uninitialized or invalid value

WDTransactionTypeAuthorization 

Reserves funds from the [Card Holder]'s account. 7 days left to conduct a WDTransactionTypeCaptureAuthorization on the transaction.

String representation: authorization

WDTransactionTypeAuthorizationOnly 

Verifies the card's validity without leaving an authorized amount.

String representation: authorization-only

WDTransactionTypeCaptureAuthorization 

Takes funds from the [Card Holder]'s account. Must follow an WDTransactionTypeAuthorization

String representation: capture-authorization

WDTransactionTypeDebit 

Moves funds from the Account Holder to the Merchant.

String representation: debit

WDTransactionTypePendingDebit 

Represents the request for a debit. If the transaction state is success, then the outcome of the debit is not yet known.

String representation: pending-debit

WDTransactionTypePurchase 

Takes funds from the [Card Holder]'s account. A one-step process to conduct two transaction types: WDTransactionTypeAuthorization and WDTransactionTypeCapture.

String representation: purchase

WDTransactionTypeReferencedAuthorization 

Reserve funds from the [Card Holder]'s account. Identical to a WDTransactionTypeAuthorization except for the fact that it Refers to a previous WDTransactionTypeAuthorization transaction.

String representation: referenced-authorization

WDTransactionTypeReferencedPurchase 

Takes funds from the [Card Holder]'s account. Identical to a WDTransactionTypePurchase except for the fact that it refers to a previous WDTransactionTypePurchase transaction.

String representation: referenced-purchase

WDTransactionTypeRefundCapture 

Gives funds to the [Card Holder]'s account, referring to an eligible [Capture].

String representation: refund-capture

WDTransactionTypeRefundDebit 
WDTransactionTypeRefundPurchase 

Gives funds to the [Card Holder]'s account, referring to an eligible [Purchase].

String representation: refund-purchase

WDTransactionTypeVoidAuthorization 

Frees reserved funds from the [Card Holder]'s account due to an [Authorization].

String representation: void-authorization

WDTransactionTypeTotalNumber 

Total number of values. It is used for validation and handled as invalid value

Function Documentation

WDAttempt WDAttemptThreeDFromCode ( NSString code)

Converts attempt 3D string representation to WDAttempt enumeration.

Parameters
codeattempt 3D string representation
Returns
WDAttempt enumeration
NSString* WDAttemptThreeDGetCode ( WDAttempt  attempt)

Converts attempt 3D WDAttempt enumeration to string representation.

Parameters
attemptWDTAttempt enumeration
Returns
attempt 3D string representation
WDCardBrand WDCardBrandFromCode ( NSString code)

Converts card brand string representation to WDCardBrand enumeration.

Parameters
codecard brand string representation
Returns
WDCardBrand enumeration
NSString* WDCardBrandGetCode ( WDCardBrand  cardBrand)

Converts card brand WDCardBrand enumeration to string representation.

Parameters
cardBrandcard brand WDCardBrand enumeration
Returns
card brand string representation
WDCountry WDCountryFromISOCode ( NSString code)
NSString* WDCountryGetISOCode ( WDCountry  country)
WDCurrency WDCurrencyFromISOCode ( NSString code)
NSString* WDCurrencyGetISOCode ( WDCurrency  currency)
WDTransactionType WDTransactionTypeFromCode ( NSString code)

Converts transaction type string representation to WDTransactionType enumeration.

Parameters
codetransaction type string representation
Returns
WDTransactionType enumeration
NSString* WDTransactionTypeGetCode ( WDTransactionType  transactionType)

Converts transaction type WDTransactionType enumeration to string representation.

Parameters
transactionTypetransaction type WDTransactionType enumeration
Returns
transaction type string representation

Variable Documentation

FOUNDATION_EXPORT double PaymentSDKVersionNumber

Project version number for PaymentSDK.

FOUNDATION_EXPORT const unsigned char PaymentSDKVersionString[]

Project version string for PaymentSDK.

NSString* _Nonnull const WDPaymentSDKErrorDomain