import Item from '../models/Item'; import Order from '../models/Order'; import Card from '../models/Card'; import Billing from '../models/Billing'; import RequestBehaviour from '../base/RequestBehaviour'; export default class PaymentTransaction extends RequestBehaviour { payment_uuid?: string; card_token?: string | null; card_number?: string | null; card_cvv?: string | null; card_expire?: string | null; card_holder?: string | null; billing_address?: string | null; billing_country?: string; billing_state?: string; billing_city?: string | null; billing_zip?: string; billing_phone?: string; customer_name?: string | null; customer_email?: string | null; customer_fingerprint?: string; order_id?: string; order_currency?: string; order_amount?: string | null; order_tax_amount?: string | null; order_shipping_amount?: string | null; order_content?: Array; order_extras?: Object; order_note?: string | null; order_callback?: string; authentication_request: boolean; authentication_identifier?: string; secure_payload?: string; apple_pay?: string; google_pay?: string; click_to_pay?: string; source?: string; tap_to_pay_device?: string; tap_to_pay_request: boolean; before_execute?: () => Promise; setCard(card: Card): void; setCardToken(token?: string | null): void; setBilling(billing: Billing): void; setOrder(order: Order): void; withAuthenticationRequest(): void; withTap2Pay(device?: string): void; setBeforeExecute(callback: () => Promise): void; doBeforeExecute(): Promise; isEncryptable(): boolean; withEncryption(publicKey: string | null): string; }