openpay_bbva library

Classes

Address
Address is a class that contains the address information of a card
CardInformation
Card Information representation class
OpenpayApi
OpenpayApi is a class that contains the API urls
OpenpayBBVA
OpenpayBBVA is a class that contains the API urls
OpenpayError
OpenpayError is a class that contains the error information.
TokenOpenpay
ToeknOpenpay is the class that allows you to get the device ID and card token from Openpay needed for your card payments.

Enums

Country
The Country enum is used to select your country in the Openpay instance.

Functions

addressFromJson(String str) Address
AddressFromJson is a function that returns a Address instance from a json string
addressToJson(Address data) String
AddressToJson is a function that returns a json string from a Address instance
cardInformationFromJson(String str) CardInformation
Card Information from json
cardInformationToJson(CardInformation data) String
Card Information to json
openpayErrorFromJson(String str) OpenpayError
openpayErrorToJson(OpenpayError data) String
tokenOpenpayFromJson(String str) TokenOpenpay
Token Openpay from json
tokenOpenpayToJson(TokenOpenpay data) String
Token Openpay to json

Exceptions / Errors

OpenpayExceptionError
Openpay returns JSON objects in service responses, even in case of errors so when there is an error.