Class: Google::Apis::GanV1beta1::CcOffer::DefaultFee
- Inherits:
-
Object
- Object
- Google::Apis::GanV1beta1::CcOffer::DefaultFee
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/gan_v1beta1/classes.rb,
generated/google/apis/gan_v1beta1/representations.rb,
generated/google/apis/gan_v1beta1/representations.rb
Instance Attribute Summary collapse
-
#category ⇒ String
The type of charge, for example Purchases.
-
#max_rate ⇒ Float
The highest rate the issuer may charge for defaulting on debt in this category.
-
#min_rate ⇒ Float
The lowest rate the issuer may charge for defaulting on debt in this category.
-
#rate_type ⇒ String
Fixed or variable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DefaultFee
constructor
A new instance of DefaultFee.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DefaultFee
Returns a new instance of DefaultFee
679 680 681 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 679 def initialize(**args) update!(**args) end |
Instance Attribute Details
#category ⇒ String
The type of charge, for example Purchases.
Corresponds to the JSON property category
660 661 662 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 660 def category @category end |
#max_rate ⇒ Float
The highest rate the issuer may charge for defaulting on debt in this category.
Expressed as an absolute number, not as a percentage.
Corresponds to the JSON property maxRate
666 667 668 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 666 def max_rate @max_rate end |
#min_rate ⇒ Float
The lowest rate the issuer may charge for defaulting on debt in this category.
Expressed as an absolute number, not as a percentage.
Corresponds to the JSON property minRate
672 673 674 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 672 def min_rate @min_rate end |
#rate_type ⇒ String
Fixed or variable.
Corresponds to the JSON property rateType
677 678 679 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 677 def rate_type @rate_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
684 685 686 687 688 689 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 684 def update!(**args) @category = args[:category] if args.key?(:category) @max_rate = args[:max_rate] if args.key?(:max_rate) @min_rate = args[:min_rate] if args.key?(:min_rate) @rate_type = args[:rate_type] if args.key?(:rate_type) end |