mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-12-08 00:01:02 -05:00
Update generated code for v1439
This commit is contained in:
parent
17457e0ff5
commit
467e034676
@ -1 +1 @@
|
||||
v1436
|
||||
v1439
|
||||
@ -110,6 +110,15 @@ module Stripe
|
||||
attr_reader :smart_tip_threshold
|
||||
end
|
||||
|
||||
class Jpy < Stripe::StripeObject
|
||||
# Fixed amounts displayed when collecting a tip
|
||||
attr_reader :fixed_amounts
|
||||
# Percentages displayed when collecting a tip
|
||||
attr_reader :percentages
|
||||
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
attr_reader :smart_tip_threshold
|
||||
end
|
||||
|
||||
class Myr < Stripe::StripeObject
|
||||
# Fixed amounts displayed when collecting a tip
|
||||
attr_reader :fixed_amounts
|
||||
@ -188,6 +197,8 @@ module Stripe
|
||||
attr_reader :gbp
|
||||
# Attribute for field hkd
|
||||
attr_reader :hkd
|
||||
# Attribute for field jpy
|
||||
attr_reader :jpy
|
||||
# Attribute for field myr
|
||||
attr_reader :myr
|
||||
# Attribute for field nok
|
||||
@ -382,6 +393,21 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Jpy < Stripe::RequestParams
|
||||
# Fixed amounts displayed when collecting a tip
|
||||
attr_accessor :fixed_amounts
|
||||
# Percentages displayed when collecting a tip
|
||||
attr_accessor :percentages
|
||||
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
attr_accessor :smart_tip_threshold
|
||||
|
||||
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil)
|
||||
@fixed_amounts = fixed_amounts
|
||||
@percentages = percentages
|
||||
@smart_tip_threshold = smart_tip_threshold
|
||||
end
|
||||
end
|
||||
|
||||
class Myr < Stripe::RequestParams
|
||||
# Fixed amounts displayed when collecting a tip
|
||||
attr_accessor :fixed_amounts
|
||||
@ -502,6 +528,8 @@ module Stripe
|
||||
attr_accessor :gbp
|
||||
# Tipping configuration for HKD
|
||||
attr_accessor :hkd
|
||||
# Tipping configuration for JPY
|
||||
attr_accessor :jpy
|
||||
# Tipping configuration for MYR
|
||||
attr_accessor :myr
|
||||
# Tipping configuration for NOK
|
||||
@ -526,6 +554,7 @@ module Stripe
|
||||
eur: nil,
|
||||
gbp: nil,
|
||||
hkd: nil,
|
||||
jpy: nil,
|
||||
myr: nil,
|
||||
nok: nil,
|
||||
nzd: nil,
|
||||
@ -542,6 +571,7 @@ module Stripe
|
||||
@eur = eur
|
||||
@gbp = gbp
|
||||
@hkd = hkd
|
||||
@jpy = jpy
|
||||
@myr = myr
|
||||
@nok = nok
|
||||
@nzd = nzd
|
||||
@ -786,6 +816,21 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Jpy < Stripe::RequestParams
|
||||
# Fixed amounts displayed when collecting a tip
|
||||
attr_accessor :fixed_amounts
|
||||
# Percentages displayed when collecting a tip
|
||||
attr_accessor :percentages
|
||||
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
attr_accessor :smart_tip_threshold
|
||||
|
||||
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil)
|
||||
@fixed_amounts = fixed_amounts
|
||||
@percentages = percentages
|
||||
@smart_tip_threshold = smart_tip_threshold
|
||||
end
|
||||
end
|
||||
|
||||
class Myr < Stripe::RequestParams
|
||||
# Fixed amounts displayed when collecting a tip
|
||||
attr_accessor :fixed_amounts
|
||||
@ -906,6 +951,8 @@ module Stripe
|
||||
attr_accessor :gbp
|
||||
# Tipping configuration for HKD
|
||||
attr_accessor :hkd
|
||||
# Tipping configuration for JPY
|
||||
attr_accessor :jpy
|
||||
# Tipping configuration for MYR
|
||||
attr_accessor :myr
|
||||
# Tipping configuration for NOK
|
||||
@ -930,6 +977,7 @@ module Stripe
|
||||
eur: nil,
|
||||
gbp: nil,
|
||||
hkd: nil,
|
||||
jpy: nil,
|
||||
myr: nil,
|
||||
nok: nil,
|
||||
nzd: nil,
|
||||
@ -946,6 +994,7 @@ module Stripe
|
||||
@eur = eur
|
||||
@gbp = gbp
|
||||
@hkd = hkd
|
||||
@jpy = jpy
|
||||
@myr = myr
|
||||
@nok = nok
|
||||
@nzd = nzd
|
||||
|
||||
@ -177,6 +177,21 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Jpy < Stripe::RequestParams
|
||||
# Fixed amounts displayed when collecting a tip
|
||||
attr_accessor :fixed_amounts
|
||||
# Percentages displayed when collecting a tip
|
||||
attr_accessor :percentages
|
||||
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
attr_accessor :smart_tip_threshold
|
||||
|
||||
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil)
|
||||
@fixed_amounts = fixed_amounts
|
||||
@percentages = percentages
|
||||
@smart_tip_threshold = smart_tip_threshold
|
||||
end
|
||||
end
|
||||
|
||||
class Myr < Stripe::RequestParams
|
||||
# Fixed amounts displayed when collecting a tip
|
||||
attr_accessor :fixed_amounts
|
||||
@ -297,6 +312,8 @@ module Stripe
|
||||
attr_accessor :gbp
|
||||
# Tipping configuration for HKD
|
||||
attr_accessor :hkd
|
||||
# Tipping configuration for JPY
|
||||
attr_accessor :jpy
|
||||
# Tipping configuration for MYR
|
||||
attr_accessor :myr
|
||||
# Tipping configuration for NOK
|
||||
@ -321,6 +338,7 @@ module Stripe
|
||||
eur: nil,
|
||||
gbp: nil,
|
||||
hkd: nil,
|
||||
jpy: nil,
|
||||
myr: nil,
|
||||
nok: nil,
|
||||
nzd: nil,
|
||||
@ -337,6 +355,7 @@ module Stripe
|
||||
@eur = eur
|
||||
@gbp = gbp
|
||||
@hkd = hkd
|
||||
@jpy = jpy
|
||||
@myr = myr
|
||||
@nok = nok
|
||||
@nzd = nzd
|
||||
@ -581,6 +600,21 @@ module Stripe
|
||||
end
|
||||
end
|
||||
|
||||
class Jpy < Stripe::RequestParams
|
||||
# Fixed amounts displayed when collecting a tip
|
||||
attr_accessor :fixed_amounts
|
||||
# Percentages displayed when collecting a tip
|
||||
attr_accessor :percentages
|
||||
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
attr_accessor :smart_tip_threshold
|
||||
|
||||
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil)
|
||||
@fixed_amounts = fixed_amounts
|
||||
@percentages = percentages
|
||||
@smart_tip_threshold = smart_tip_threshold
|
||||
end
|
||||
end
|
||||
|
||||
class Myr < Stripe::RequestParams
|
||||
# Fixed amounts displayed when collecting a tip
|
||||
attr_accessor :fixed_amounts
|
||||
@ -701,6 +735,8 @@ module Stripe
|
||||
attr_accessor :gbp
|
||||
# Tipping configuration for HKD
|
||||
attr_accessor :hkd
|
||||
# Tipping configuration for JPY
|
||||
attr_accessor :jpy
|
||||
# Tipping configuration for MYR
|
||||
attr_accessor :myr
|
||||
# Tipping configuration for NOK
|
||||
@ -725,6 +761,7 @@ module Stripe
|
||||
eur: nil,
|
||||
gbp: nil,
|
||||
hkd: nil,
|
||||
jpy: nil,
|
||||
myr: nil,
|
||||
nok: nil,
|
||||
nzd: nil,
|
||||
@ -741,6 +778,7 @@ module Stripe
|
||||
@eur = eur
|
||||
@gbp = gbp
|
||||
@hkd = hkd
|
||||
@jpy = jpy
|
||||
@myr = myr
|
||||
@nok = nok
|
||||
@nzd = nzd
|
||||
|
||||
@ -118,6 +118,17 @@ module Stripe
|
||||
sig { returns(Integer) }
|
||||
attr_reader :smart_tip_threshold
|
||||
end
|
||||
class Jpy < Stripe::StripeObject
|
||||
# Fixed amounts displayed when collecting a tip
|
||||
sig { returns(T.nilable(T::Array[Integer])) }
|
||||
attr_reader :fixed_amounts
|
||||
# Percentages displayed when collecting a tip
|
||||
sig { returns(T.nilable(T::Array[Integer])) }
|
||||
attr_reader :percentages
|
||||
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
sig { returns(Integer) }
|
||||
attr_reader :smart_tip_threshold
|
||||
end
|
||||
class Myr < Stripe::StripeObject
|
||||
# Fixed amounts displayed when collecting a tip
|
||||
sig { returns(T.nilable(T::Array[Integer])) }
|
||||
@ -219,6 +230,9 @@ module Stripe
|
||||
# Attribute for field hkd
|
||||
sig { returns(Hkd) }
|
||||
attr_reader :hkd
|
||||
# Attribute for field jpy
|
||||
sig { returns(Jpy) }
|
||||
attr_reader :jpy
|
||||
# Attribute for field myr
|
||||
sig { returns(Myr) }
|
||||
attr_reader :myr
|
||||
@ -445,6 +459,21 @@ module Stripe
|
||||
}
|
||||
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
||||
end
|
||||
class Jpy < Stripe::RequestParams
|
||||
# Fixed amounts displayed when collecting a tip
|
||||
sig { returns(T::Array[Integer]) }
|
||||
attr_accessor :fixed_amounts
|
||||
# Percentages displayed when collecting a tip
|
||||
sig { returns(T::Array[Integer]) }
|
||||
attr_accessor :percentages
|
||||
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
sig { returns(Integer) }
|
||||
attr_accessor :smart_tip_threshold
|
||||
sig {
|
||||
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
||||
}
|
||||
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
||||
end
|
||||
class Myr < Stripe::RequestParams
|
||||
# Fixed amounts displayed when collecting a tip
|
||||
sig { returns(T::Array[Integer]) }
|
||||
@ -574,6 +603,9 @@ module Stripe
|
||||
# Tipping configuration for HKD
|
||||
sig { returns(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Hkd) }
|
||||
attr_accessor :hkd
|
||||
# Tipping configuration for JPY
|
||||
sig { returns(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Jpy) }
|
||||
attr_accessor :jpy
|
||||
# Tipping configuration for MYR
|
||||
sig { returns(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Myr) }
|
||||
attr_accessor :myr
|
||||
@ -596,7 +628,7 @@ module Stripe
|
||||
sig { returns(::Stripe::Terminal::Configuration::UpdateParams::Tipping::Usd) }
|
||||
attr_accessor :usd
|
||||
sig {
|
||||
params(aud: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Aud, cad: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Cad, chf: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Chf, czk: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Czk, dkk: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Dkk, eur: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Eur, gbp: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Gbp, hkd: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Hkd, myr: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Myr, nok: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Nok, nzd: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Nzd, pln: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Pln, sek: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Sek, sgd: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Sgd, usd: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Usd).void
|
||||
params(aud: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Aud, cad: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Cad, chf: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Chf, czk: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Czk, dkk: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Dkk, eur: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Eur, gbp: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Gbp, hkd: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Hkd, jpy: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Jpy, myr: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Myr, nok: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Nok, nzd: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Nzd, pln: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Pln, sek: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Sek, sgd: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Sgd, usd: ::Stripe::Terminal::Configuration::UpdateParams::Tipping::Usd).void
|
||||
}
|
||||
def initialize(
|
||||
aud: nil,
|
||||
@ -607,6 +639,7 @@ module Stripe
|
||||
eur: nil,
|
||||
gbp: nil,
|
||||
hkd: nil,
|
||||
jpy: nil,
|
||||
myr: nil,
|
||||
nok: nil,
|
||||
nzd: nil,
|
||||
@ -841,6 +874,21 @@ module Stripe
|
||||
}
|
||||
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
||||
end
|
||||
class Jpy < Stripe::RequestParams
|
||||
# Fixed amounts displayed when collecting a tip
|
||||
sig { returns(T::Array[Integer]) }
|
||||
attr_accessor :fixed_amounts
|
||||
# Percentages displayed when collecting a tip
|
||||
sig { returns(T::Array[Integer]) }
|
||||
attr_accessor :percentages
|
||||
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
sig { returns(Integer) }
|
||||
attr_accessor :smart_tip_threshold
|
||||
sig {
|
||||
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
||||
}
|
||||
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
||||
end
|
||||
class Myr < Stripe::RequestParams
|
||||
# Fixed amounts displayed when collecting a tip
|
||||
sig { returns(T::Array[Integer]) }
|
||||
@ -970,6 +1018,9 @@ module Stripe
|
||||
# Tipping configuration for HKD
|
||||
sig { returns(::Stripe::Terminal::Configuration::CreateParams::Tipping::Hkd) }
|
||||
attr_accessor :hkd
|
||||
# Tipping configuration for JPY
|
||||
sig { returns(::Stripe::Terminal::Configuration::CreateParams::Tipping::Jpy) }
|
||||
attr_accessor :jpy
|
||||
# Tipping configuration for MYR
|
||||
sig { returns(::Stripe::Terminal::Configuration::CreateParams::Tipping::Myr) }
|
||||
attr_accessor :myr
|
||||
@ -992,7 +1043,7 @@ module Stripe
|
||||
sig { returns(::Stripe::Terminal::Configuration::CreateParams::Tipping::Usd) }
|
||||
attr_accessor :usd
|
||||
sig {
|
||||
params(aud: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Aud, cad: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Cad, chf: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Chf, czk: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Czk, dkk: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Dkk, eur: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Eur, gbp: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Gbp, hkd: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Hkd, myr: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Myr, nok: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Nok, nzd: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Nzd, pln: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Pln, sek: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Sek, sgd: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Sgd, usd: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Usd).void
|
||||
params(aud: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Aud, cad: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Cad, chf: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Chf, czk: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Czk, dkk: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Dkk, eur: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Eur, gbp: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Gbp, hkd: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Hkd, jpy: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Jpy, myr: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Myr, nok: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Nok, nzd: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Nzd, pln: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Pln, sek: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Sek, sgd: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Sgd, usd: ::Stripe::Terminal::Configuration::CreateParams::Tipping::Usd).void
|
||||
}
|
||||
def initialize(
|
||||
aud: nil,
|
||||
@ -1003,6 +1054,7 @@ module Stripe
|
||||
eur: nil,
|
||||
gbp: nil,
|
||||
hkd: nil,
|
||||
jpy: nil,
|
||||
myr: nil,
|
||||
nok: nil,
|
||||
nzd: nil,
|
||||
|
||||
@ -168,6 +168,21 @@ module Stripe
|
||||
}
|
||||
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
||||
end
|
||||
class Jpy < Stripe::RequestParams
|
||||
# Fixed amounts displayed when collecting a tip
|
||||
sig { returns(T::Array[Integer]) }
|
||||
attr_accessor :fixed_amounts
|
||||
# Percentages displayed when collecting a tip
|
||||
sig { returns(T::Array[Integer]) }
|
||||
attr_accessor :percentages
|
||||
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
sig { returns(Integer) }
|
||||
attr_accessor :smart_tip_threshold
|
||||
sig {
|
||||
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
||||
}
|
||||
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
||||
end
|
||||
class Myr < Stripe::RequestParams
|
||||
# Fixed amounts displayed when collecting a tip
|
||||
sig { returns(T::Array[Integer]) }
|
||||
@ -297,6 +312,9 @@ module Stripe
|
||||
# Tipping configuration for HKD
|
||||
sig { returns(::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Hkd) }
|
||||
attr_accessor :hkd
|
||||
# Tipping configuration for JPY
|
||||
sig { returns(::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Jpy) }
|
||||
attr_accessor :jpy
|
||||
# Tipping configuration for MYR
|
||||
sig { returns(::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Myr) }
|
||||
attr_accessor :myr
|
||||
@ -319,7 +337,7 @@ module Stripe
|
||||
sig { returns(::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Usd) }
|
||||
attr_accessor :usd
|
||||
sig {
|
||||
params(aud: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Aud, cad: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Cad, chf: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Chf, czk: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Czk, dkk: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Dkk, eur: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Eur, gbp: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Gbp, hkd: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Hkd, myr: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Myr, nok: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Nok, nzd: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Nzd, pln: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Pln, sek: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Sek, sgd: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Sgd, usd: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Usd).void
|
||||
params(aud: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Aud, cad: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Cad, chf: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Chf, czk: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Czk, dkk: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Dkk, eur: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Eur, gbp: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Gbp, hkd: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Hkd, jpy: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Jpy, myr: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Myr, nok: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Nok, nzd: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Nzd, pln: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Pln, sek: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Sek, sgd: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Sgd, usd: ::Stripe::Terminal::ConfigurationService::UpdateParams::Tipping::Usd).void
|
||||
}
|
||||
def initialize(
|
||||
aud: nil,
|
||||
@ -330,6 +348,7 @@ module Stripe
|
||||
eur: nil,
|
||||
gbp: nil,
|
||||
hkd: nil,
|
||||
jpy: nil,
|
||||
myr: nil,
|
||||
nok: nil,
|
||||
nzd: nil,
|
||||
@ -572,6 +591,21 @@ module Stripe
|
||||
}
|
||||
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
||||
end
|
||||
class Jpy < Stripe::RequestParams
|
||||
# Fixed amounts displayed when collecting a tip
|
||||
sig { returns(T::Array[Integer]) }
|
||||
attr_accessor :fixed_amounts
|
||||
# Percentages displayed when collecting a tip
|
||||
sig { returns(T::Array[Integer]) }
|
||||
attr_accessor :percentages
|
||||
# Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
||||
sig { returns(Integer) }
|
||||
attr_accessor :smart_tip_threshold
|
||||
sig {
|
||||
params(fixed_amounts: T::Array[Integer], percentages: T::Array[Integer], smart_tip_threshold: Integer).void
|
||||
}
|
||||
def initialize(fixed_amounts: nil, percentages: nil, smart_tip_threshold: nil); end
|
||||
end
|
||||
class Myr < Stripe::RequestParams
|
||||
# Fixed amounts displayed when collecting a tip
|
||||
sig { returns(T::Array[Integer]) }
|
||||
@ -701,6 +735,9 @@ module Stripe
|
||||
# Tipping configuration for HKD
|
||||
sig { returns(::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Hkd) }
|
||||
attr_accessor :hkd
|
||||
# Tipping configuration for JPY
|
||||
sig { returns(::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Jpy) }
|
||||
attr_accessor :jpy
|
||||
# Tipping configuration for MYR
|
||||
sig { returns(::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Myr) }
|
||||
attr_accessor :myr
|
||||
@ -723,7 +760,7 @@ module Stripe
|
||||
sig { returns(::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Usd) }
|
||||
attr_accessor :usd
|
||||
sig {
|
||||
params(aud: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Aud, cad: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Cad, chf: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Chf, czk: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Czk, dkk: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Dkk, eur: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Eur, gbp: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Gbp, hkd: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Hkd, myr: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Myr, nok: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Nok, nzd: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Nzd, pln: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Pln, sek: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Sek, sgd: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Sgd, usd: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Usd).void
|
||||
params(aud: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Aud, cad: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Cad, chf: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Chf, czk: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Czk, dkk: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Dkk, eur: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Eur, gbp: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Gbp, hkd: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Hkd, jpy: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Jpy, myr: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Myr, nok: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Nok, nzd: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Nzd, pln: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Pln, sek: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Sek, sgd: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Sgd, usd: ::Stripe::Terminal::ConfigurationService::CreateParams::Tipping::Usd).void
|
||||
}
|
||||
def initialize(
|
||||
aud: nil,
|
||||
@ -734,6 +771,7 @@ module Stripe
|
||||
eur: nil,
|
||||
gbp: nil,
|
||||
hkd: nil,
|
||||
jpy: nil,
|
||||
myr: nil,
|
||||
nok: nil,
|
||||
nzd: nil,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user