data/models/payment_models library

Classes

BillingAddressOption
A selectable billing address (e.g. Home, Office) for review order.
BillingDetails
Billing address details.
CardData
Data collected from the Add Card form (new card entry or edit), or a saved card row.
CustomerDetails
Customer details for the payment.
OrderDetails
Order details for the payment.
OrderSummary
Order calculation summary for the review order screen.
PaymentGatewayParams
Parameters passed to the app when building the payment gateway screen (full-screen mode). Use when providing PayorcSdk.showPayment with paymentGatewayScreen.
PaymentMethod
PaymentRequest
Full payment request payload.
PaymentResponse
Parsed envelope for POST .../sdk/payment JSON (success, failure, risk decline, etc.).
ReviewOrderItem
A line item in the review order (name, quantity, price, currency).
SdkPaymentCustomerSnapshot
SdkPaymentMethodDataSlice
SdkPaymentServiceAddress
Billing or shipping block from payment API (address_line_1 or address_line1).
SdkPaymentSlotEntry
One object inside parameters or custom_data (e.g. { "alpha": "" }, { "beta": "" }).
SdkPaymentTransactionData
Typed data object from POST .../sdk/payment (success, failure, 3DS, etc.).
ShippingDetails
Shipping details for the order.
TabbyConfirmResponse
Response from POST .../sdk/tabby/confirm.
TabbyInitData
data object from Tabby init (credentials for TabbySDK.setup).
TabbyInitResponse
Response from POST .../sdk/tabby/init.
Token
Urls
Callback URLs for payment flow.
WalletPaymentResult

Enums

PaymentRequestType
Distinguishes PayOrc /sdk/payment (checkout) vs add-card verification payloads.
PaymentViewType
How the payment gateway is presented to the user.

Functions

payOrcNormalizedFiveSlots(List source) List<Map<String, String>>
Builds [ { "alpha": "…" }, { "beta": "…" }, … ] exactly like the service-sdk sample.