Skip to content

PaymentInstrumentInterface

Shabab Haider Siddique edited this page May 25, 2021 · 1 revision

PaymentInstrumentInterface

interface PaymentInstrumentInterface

class PaymentInstrumentCard extends ResultObject implements PaymentInstrumentInterface

Methods

Name Return Type Description
getCardBrand() public string Returns brand of the cc
getPan() public string When creating a payment merchant provide full card number. However while retrieving an existing payments only last 4 digits are returned.
getExpYear() public string Returns exp year of the cc
getExpMonth() public string Returns exp month of the cc
getHolder() public string Returns Holder full name of the cc

class PaymentInstrumentRecurring extends ResultObject implements PaymentInstrumentInterface

Methods

Name Return Type Description
getPaymentId() public string Returns payment id this instrument used

Clone this wiki locally