Class: PayPal::AdaptivePayments::FundingConstraint

Inherits:
Object
  • Object
show all
Includes:
Common::Base
Defined in:
lib/paypal/adaptive_payments/funding_constraint.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Common::Base

#after_initialize, #build_datetime, #build_value, #camelize, #hash_keys, #initialize, #request, #to_hash, #to_json, #underscore

Instance Attribute Details

#allowed_funding_typeObject

Returns the value of attribute allowed_funding_type.



5
6
7
# File 'lib/paypal/adaptive_payments/funding_constraint.rb', line 5

def allowed_funding_type
  @allowed_funding_type
end

Instance Method Details

#set_allowed_funding_type(value) ⇒ Object



7
8
9
# File 'lib/paypal/adaptive_payments/funding_constraint.rb', line 7

def set_allowed_funding_type(value)
  self.allowed_funding_type = build_value(FundingTypeList, value)
end