Class: MangoModel::PayInWebExtendedView

Inherits:
Object
  • Object
show all
Includes:
MangoPay::Jsonifier
Defined in:
lib/mangopay/model/pay_in_web_extended_view.rb

Overview

The Pay-In Web Extended View is an object which provides more details about the card used to process a Web Pay-In

Constant Summary

Constants included from MangoPay::Jsonifier

MangoPay::Jsonifier::LOG

Instance Attribute Summary collapse

Method Summary

Methods included from MangoPay::Jsonifier

#dejsonify, #jsonify!

Instance Attribute Details

#aliasObject

String

A partially obfuscated version of the credit card number



23
24
25
# File 'lib/mangopay/model/pay_in_web_extended_view.rb', line 23

def alias
  @alias
end

#card_typeObject

CardType

The type of card



26
27
28
# File 'lib/mangopay/model/pay_in_web_extended_view.rb', line 26

def card_type
  @card_type
end

#countryObject

CountryIso

Country of the address



29
30
31
# File 'lib/mangopay/model/pay_in_web_extended_view.rb', line 29

def country
  @country
end

#execution_dateObject

Integer

Time when the transaction happened (UNIX timestamp)



17
18
19
# File 'lib/mangopay/model/pay_in_web_extended_view.rb', line 17

def execution_date
  @execution_date
end

#expiration_dateObject

String

The expiry date of the card (MMYY format)



20
21
22
# File 'lib/mangopay/model/pay_in_web_extended_view.rb', line 20

def expiration_date
  @expiration_date
end

#idObject

String

The item’s ID



11
12
13
# File 'lib/mangopay/model/pay_in_web_extended_view.rb', line 11

def id
  @id
end

#payment_typeObject

PayInPaymentType

The type of pay-in



14
15
16
# File 'lib/mangopay/model/pay_in_web_extended_view.rb', line 14

def payment_type
  @payment_type
end