Class: Pluggy::Resources::BillPayment

Inherits:
APIResource show all
Defined in:
lib/pluggy/resources/bill.rb

Constant Summary

Constants inherited from PluggyObject

PluggyObject::ISO8601, PluggyObject::RESERVED, PluggyObject::TEMPORAL_KEYS

Instance Attribute Summary

Attributes inherited from PluggyObject

#client

Instance Method Summary collapse

Methods inherited from PluggyObject

#==, #[], #as_json, declared_fields, define_field, #each_pair, fields, #hash, #initialize, #inspect, #key?, #keys, #method_missing, nested, nested_types, #read, #respond_to_missing?, #to_h, #to_json, #values

Constructor Details

This class inherits a constructor from Pluggy::PluggyObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Pluggy::PluggyObject

Instance Method Details

#full?Boolean

Returns:

  • (Boolean)


17
# File 'lib/pluggy/resources/bill.rb', line 17

def full? = self["valueType"] == "FULL_PAYMENT"

#installment?Boolean

Returns:

  • (Boolean)


18
# File 'lib/pluggy/resources/bill.rb', line 18

def installment? = self["valueType"] == "INSTALLMENT_PAYMENT"