class Google::Apis::GanV1beta1::CcOffer::DefaultFee

Attributes

category[RW]

The type of charge, for example Purchases. Corresponds to the JSON property `category` @return [String]

max_rate[RW]

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` @return [Float]

min_rate[RW]

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` @return [Float]

rate_type[RW]

Fixed or variable. Corresponds to the JSON property `rateType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/gan_v1beta1/classes.rb, line 679
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# 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