iberbox  2.1.1
iberbox::PaymentMethodInfoData Class Reference

The Payment Info Data class. More...

Collaboration diagram for iberbox::PaymentMethodInfoData:

Public Types

enum  PaymentMethodStatus { PMS_NONE = 0, PMS_ACTIVE = 1, PMS_FAILED = 2, PMS_EXPIRED = 3 }
 The Payment Method Status enum. More...
 
enum  PaymentMethodType {
  PMT_NONE = 0, PMT_CREDIT_CARD = 1, PMT_RESELLER = 2, PMT_DIRECT_DEBIT = 3,
  PMT_BANK_TRANSFER = 4
}
 The Payment Method Type enum. More...
 

Public Member Functions

uint64_t getExpirationTime () const
 Gets the time when the payment method expires. More...
 
int getId () const
 Gets the identifier of the payment method. More...
 
std::string getName () const
 Gets the Name object. More...
 
int getStatus () const
 Gets the status of the payment method. More...
 
int getType () const
 Gets the payment method type. More...
 
 PaymentMethodInfoData ()
 Constructs a new Payment Method Info Data object. More...
 
virtual ~PaymentMethodInfoData ()
 Destroys the Payment Method Info Data object. More...
 

Detailed Description

The Payment Info Data class.

Member Enumeration Documentation

◆ PaymentMethodStatus

The Payment Method Status enum.

Enumerator
PMS_NONE 

No payment method status.

PMS_ACTIVE 

Active payment method.

PMS_FAILED 

Failed payment method.

PMS_EXPIRED 

Expired payment method.

◆ PaymentMethodType

The Payment Method Type enum.

Enumerator
PMT_NONE 

No payment method.

PMT_CREDIT_CARD 

Credit card method.

PMT_RESELLER 

Reseller code method.

PMT_DIRECT_DEBIT 

Direct debit method.

PMT_BANK_TRANSFER 

Bank transfer method.

Constructor & Destructor Documentation

◆ PaymentMethodInfoData()

iberbox::PaymentMethodInfoData::PaymentMethodInfoData ( )

Constructs a new Payment Method Info Data object.

◆ ~PaymentMethodInfoData()

virtual iberbox::PaymentMethodInfoData::~PaymentMethodInfoData ( )
virtual

Destroys the Payment Method Info Data object.

Member Function Documentation

◆ getExpirationTime()

uint64_t iberbox::PaymentMethodInfoData::getExpirationTime ( ) const

Gets the time when the payment method expires.

Returns
The expiration time.

◆ getId()

int iberbox::PaymentMethodInfoData::getId ( ) const

Gets the identifier of the payment method.

Returns
The identifier of the payment method.

◆ getName()

std::string iberbox::PaymentMethodInfoData::getName ( ) const

Gets the Name object.

Returns
std::string

◆ getStatus()

int iberbox::PaymentMethodInfoData::getStatus ( ) const

Gets the status of the payment method.

The valid status values are described by the PaymentMethodStatus enum.

Returns
The payment method status.

◆ getType()

int iberbox::PaymentMethodInfoData::getType ( ) const

Gets the payment method type.

The valid payment method type values are described by PaymentMethodType enum.

Returns
The payment method type.

The documentation for this class was generated from the following file: