# online_payments_sdk library

## Classes

AccountOnFile
  Represents an AccountOnFile object.
AccountOnFileAttribute
  Represents an AccountOnFileAttribute object.
AccountOnFileCustomMaskedValueRequest
  Request used to retrieve the value of a field in an AccountOnFile with a custom mask applied.
AccountOnFileDisplayHints
  Represents a AccountOnFileDisplayHints object.
AccountOnFileMaskedValueRequest
  Request used to retrieve the masked value of a field in an AccountOnFile.
AccountOnFileMasker
AmountOfMoney
  Contains money information for a payment.
ApiError
  If an API error occurred during an API call, this object might be available on ErrorResponse and contains more information about the error that occurred.
ApiErrorItem
  If an API error occurred during an API call, this object might be available on ApiError and contains more information about the error that occurred.
BasicPaymentProduct
  Represents a BasicPaymentProduct object.
BasicPaymentProducts
  Contains a list of BasicPaymentProduct, a list of AccountOnFile and helper methods to retrieve a specific BasicPaymentProduct object.
BasicPaymentProductsRequest
  Request used to retrieve BasicPaymentProducts from the API.
BasicPaymentProductsResponseListener
  Listener used when retrieving BasicPaymentProducts from the API.
DataRestrictions
  Represents a DataRestrictions object that is used for validating user input.
ErrorResponse
  Object that contains more information if an API call failed due to an API related error.
FormElement
  Represents a FormElement object. The FormElement is used for determining how a PaymentProductField should be presented.
IinDetail
  Represents a IinDetail object.
IinDetailsRequest
  Request used to retrieve an IinDetailsResponse from the API.
IinDetailsResponse
  Represents a IinDetailsResponse object.
IinLookupResponseListener
  Listener used when retrieving a IinDetailsResponse from the API.
LabelTemplateElement
  Represents a LabelTemplateElement.
NativeException
  Contains information about a native SDK error if it occurred while executing API calls.
PaymentContext
  Contains information about a payment, like its AmountOfMoney and countryCode.
PaymentProduct
  Represents a BasicPaymentProduct and its PaymentProductFields.
PaymentProduct302SpecificData
  Contains payment product 302 (ApplePay) specific properties.
PaymentProduct320SpecificData
  Contains payment product 320 (GooglePay) specific properties.
PaymentProductDisplayHints
  Represents a PaymentProductDisplayHints object.
PaymentProductField
  Represents a PaymentProductField object.
PaymentProductFieldDisplayHints
  Represents a PaymentProductFieldDisplayHints object.
PaymentProductFieldMasker
PaymentProductFieldMaskRequest
  Request used to retrieve the masked value of a PaymentProductField.
PaymentProductFieldValidationRequest
  Request used to validate the value of a PaymentProductField.
PaymentProductFieldValidator
PaymentProductNetworks
  Represents a PaymentProductNetworks object.
PaymentProductNetworksRequest
  Request used to retrieve PaymentProductNetworks from the API.
PaymentProductNetworksResponseListener
  Listener used when retrieving PaymentProductNetworks from the API.
PaymentProductRequest
  Request used to retrieve a PaymentProduct from the API.
PaymentProductRequestMasker
PaymentProductResponseListener
  Listener used when retrieving a PaymentProduct from the API.
PaymentRequest
  Contains all data required for creating a payment.
PaymentRequestAllMaskedValuesRequest
  Request used to retrieve all the masked or unmasked values of a PaymentRequest.
PaymentRequestMaskedValueRequest
  Request used to retrieve the masked value of a field in a PaymentRequest.
PaymentRequestPreparedListener
  Listener used when preparing a PaymentRequest for creating a payment.
PaymentRequestRuleValidationRequest
  Request used to validate a PaymentProductField in a PaymentRequest with a specific ValidationRule.
PaymentRequestValidationRequest
  Request used to validate a PaymentProductField in a PaymentRequest.
PaymentRequestValidator
PreparedPaymentRequest
  Contains all encrypted PaymentRequest data required for creating a payment.
PublicKey
  Represents a PublicKey object that is used for encrypting a PaymentRequest.
PublicKeyResponseListener
  Listener used when retrieving a PublicKey from the API.
SdkPreparePaymentRequest
  Request used to encrypt a PaymentRequest.
SdkResult<T>
  Result returned from the native SDKs after a call to the API was made. If successful, SdkResult contains the returned data. If not successful, SdkResult contains an ErrorResponse.
SdkSessionRequest
  Request used to initiate a Session.
Session
Surcharge
  Represents a Surcharge object.
SurchargeCalculation
  Represents a SurchargeCalculation object.
SurchargeCalculationRequest
  Request used to retrieve a SurchargeCalculation from the API.
SurchargeCalculationResponseListener
  Listener used when retrieving a Surcharge from the API.
SurchargeRate
  Represents a SurchargeRate object.
Throwable
  Object that contains more information if an API call failed due to a non-API related error.
Tooltip
ValidationErrorMessage
  Contains error message information for a specific PaymentProductField.
ValidationRule
  Contains functionality to handle validation.
ValidationRuleEmailAddress
  Used for validation of an email address.
ValidationRuleExpirationDate
  Used for validation of an expiration date.
ValidationRuleFixedList
  Used for validation of a fixed list.
ValidationRuleFunctions
ValidationRuleIBAN
  Used for validation of an IBAN number.
ValidationRuleLength
  Used for validation of the length of an input.
ValidationRuleLuhn
  Used for validation of the Luhn check.
ValidationRuleRange
  Used for validation of the range of an input.
ValidationRuleRegularExpression
  Used for validation of whether a value conforms to a regular expression.
ValidationRuleTermsAndConditions
  Used for validation of terms and conditions.
ValidationRuleValidationRequest
  Request used to validate a value with a specific ValidationRule.
ValidationRuleValidator

## Extensions

AccountOnFileAttributeStatusX
  Extension that returns whether an AccountOnFileAttribute can be edited based on its AccountOnFileAttributeStatus.

## Functions

validationRulesFromJson(List json) → List<ValidationRule>

## Enums

AccountOnFileAttributeStatus
  Enum containing all the possible statuses for a AccountOnFileAttribute.
CardType
  Enum containing all the possible card types for IinDetailsResponse and IinDetail.
FormElementType
  Enum containing all the possible types how a PaymentProductField can be presented.
IinStatus
  Enum containing all the possible statuses of a IinDetailsResponse.
PaymentProductFieldType
  Enum containing all the possible PaymentProductField types.
PreferredInputType
  Enum containing all the possible keyboard types required to fill in a value of a PaymentProductField.
SdkResultStatus
  Enum containing all the possible SdkResult statuses.
SurchargeResult
  Enum containing all the possible results of a Surcharge.
ValidationType
  Enum containing all possible ValidationRule types.