Class: Xendify::InvoiceModel

Inherits:
APIResource show all
Defined in:
lib/xendify/resources/invoice.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from APIResource

#initialize

Constructor Details

This class inherits a constructor from Xendify::APIResource

Instance Attribute Details

#amountObject

Returns the value of attribute amount.



11
12
13
# File 'lib/xendify/resources/invoice.rb', line 11

def amount
  @amount
end

#available_banksObject

Returns the value of attribute available_banks.



11
12
13
# File 'lib/xendify/resources/invoice.rb', line 11

def available_banks
  @available_banks
end

#available_retail_outletsObject

Returns the value of attribute available_retail_outlets.



11
12
13
# File 'lib/xendify/resources/invoice.rb', line 11

def available_retail_outlets
  @available_retail_outlets
end

#createdObject

Returns the value of attribute created.



11
12
13
# File 'lib/xendify/resources/invoice.rb', line 11

def created
  @created
end

#currencyObject

Returns the value of attribute currency.



11
12
13
# File 'lib/xendify/resources/invoice.rb', line 11

def currency
  @currency
end

#descriptionObject

Returns the value of attribute description.



11
12
13
# File 'lib/xendify/resources/invoice.rb', line 11

def description
  @description
end

#expiry_dateObject

Returns the value of attribute expiry_date.



11
12
13
# File 'lib/xendify/resources/invoice.rb', line 11

def expiry_date
  @expiry_date
end

#external_idObject

Returns the value of attribute external_id.



11
12
13
# File 'lib/xendify/resources/invoice.rb', line 11

def external_id
  @external_id
end

#feesObject

Returns the value of attribute fees.



11
12
13
# File 'lib/xendify/resources/invoice.rb', line 11

def fees
  @fees
end

#fixed_vaObject

Returns the value of attribute fixed_va.



11
12
13
# File 'lib/xendify/resources/invoice.rb', line 11

def fixed_va
  @fixed_va
end

#idObject

Returns the value of attribute id.



11
12
13
# File 'lib/xendify/resources/invoice.rb', line 11

def id
  @id
end

#invoice_urlObject

Returns the value of attribute invoice_url.



11
12
13
# File 'lib/xendify/resources/invoice.rb', line 11

def invoice_url
  @invoice_url
end

#itemsObject

Returns the value of attribute items.



11
12
13
# File 'lib/xendify/resources/invoice.rb', line 11

def items
  @items
end

#merchant_nameObject

Returns the value of attribute merchant_name.



11
12
13
# File 'lib/xendify/resources/invoice.rb', line 11

def merchant_name
  @merchant_name
end

#merchant_profile_picture_urlObject

Returns the value of attribute merchant_profile_picture_url.



11
12
13
# File 'lib/xendify/resources/invoice.rb', line 11

def merchant_profile_picture_url
  @merchant_profile_picture_url
end

#mid_labelObject

Returns the value of attribute mid_label.



11
12
13
# File 'lib/xendify/resources/invoice.rb', line 11

def mid_label
  @mid_label
end

#payer_emailObject

Returns the value of attribute payer_email.



11
12
13
# File 'lib/xendify/resources/invoice.rb', line 11

def payer_email
  @payer_email
end

#should_exclude_credit_cardObject

Returns the value of attribute should_exclude_credit_card.



11
12
13
# File 'lib/xendify/resources/invoice.rb', line 11

def should_exclude_credit_card
  @should_exclude_credit_card
end

#should_send_emailObject

Returns the value of attribute should_send_email.



11
12
13
# File 'lib/xendify/resources/invoice.rb', line 11

def should_send_email
  @should_send_email
end

#statusObject

Returns the value of attribute status.



11
12
13
# File 'lib/xendify/resources/invoice.rb', line 11

def status
  @status
end

#updatedObject

Returns the value of attribute updated.



11
12
13
# File 'lib/xendify/resources/invoice.rb', line 11

def updated
  @updated
end

#user_idObject

Returns the value of attribute user_id.



11
12
13
# File 'lib/xendify/resources/invoice.rb', line 11

def user_id
  @user_id
end