increase 1.278.2 → 1.280.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,18 +10,6 @@ module Increase
10
10
  # @return [String]
11
11
  required :id, String
12
12
 
13
- # @!attribute ach_debit_status
14
- # If the Group is allowed to create ACH debits.
15
- #
16
- # @return [Symbol, Increase::Models::Group::ACHDebitStatus]
17
- required :ach_debit_status, enum: -> { Increase::Group::ACHDebitStatus }
18
-
19
- # @!attribute activation_status
20
- # If the Group is activated or not.
21
- #
22
- # @return [Symbol, Increase::Models::Group::ActivationStatus]
23
- required :activation_status, enum: -> { Increase::Group::ActivationStatus }
24
-
25
13
  # @!attribute created_at
26
14
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Group
27
15
  # was created.
@@ -36,7 +24,7 @@ module Increase
36
24
  # @return [Symbol, Increase::Models::Group::Type]
37
25
  required :type, enum: -> { Increase::Group::Type }
38
26
 
39
- # @!method initialize(id:, ach_debit_status:, activation_status:, created_at:, type:)
27
+ # @!method initialize(id:, created_at:, type:)
40
28
  # Some parameter documentations has been truncated, see {Increase::Models::Group}
41
29
  # for more details.
42
30
  #
@@ -47,46 +35,10 @@ module Increase
47
35
  #
48
36
  # @param id [String] The Group identifier.
49
37
  #
50
- # @param ach_debit_status [Symbol, Increase::Models::Group::ACHDebitStatus] If the Group is allowed to create ACH debits.
51
- #
52
- # @param activation_status [Symbol, Increase::Models::Group::ActivationStatus] If the Group is activated or not.
53
- #
54
38
  # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Group w
55
39
  #
56
40
  # @param type [Symbol, Increase::Models::Group::Type] A constant representing the object's type. For this resource it will always be `
57
41
 
58
- # If the Group is allowed to create ACH debits.
59
- #
60
- # @see Increase::Models::Group#ach_debit_status
61
- module ACHDebitStatus
62
- extend Increase::Internal::Type::Enum
63
-
64
- # The Group cannot make ACH debits.
65
- DISABLED = :disabled
66
-
67
- # The Group can make ACH debits.
68
- ENABLED = :enabled
69
-
70
- # @!method self.values
71
- # @return [Array<Symbol>]
72
- end
73
-
74
- # If the Group is activated or not.
75
- #
76
- # @see Increase::Models::Group#activation_status
77
- module ActivationStatus
78
- extend Increase::Internal::Type::Enum
79
-
80
- # The Group is not activated.
81
- UNACTIVATED = :unactivated
82
-
83
- # The Group is activated.
84
- ACTIVATED = :activated
85
-
86
- # @!method self.values
87
- # @return [Array<Symbol>]
88
- end
89
-
90
42
  # A constant representing the object's type. For this resource it will always be
91
43
  # `group`.
92
44
  #
@@ -8,10 +8,12 @@ module Increase
8
8
  #
9
9
  # Create a Card
10
10
  #
11
- # @overload create(account_id:, billing_address: nil, description: nil, digital_wallet: nil, entity_id: nil, request_options: {})
11
+ # @overload create(account_id:, authorization_controls: nil, billing_address: nil, description: nil, digital_wallet: nil, entity_id: nil, request_options: {})
12
12
  #
13
13
  # @param account_id [String] The Account the card should belong to.
14
14
  #
15
+ # @param authorization_controls [Increase::Models::CardCreateParams::AuthorizationControls] Controls that restrict how this card can be used.
16
+ #
15
17
  # @param billing_address [Increase::Models::CardCreateParams::BillingAddress] The card's billing address.
16
18
  #
17
19
  # @param description [String] The description you choose to give the card.
@@ -55,10 +57,12 @@ module Increase
55
57
  #
56
58
  # Update a Card
57
59
  #
58
- # @overload update(card_id, billing_address: nil, description: nil, digital_wallet: nil, entity_id: nil, status: nil, request_options: {})
60
+ # @overload update(card_id, authorization_controls: nil, billing_address: nil, description: nil, digital_wallet: nil, entity_id: nil, status: nil, request_options: {})
59
61
  #
60
62
  # @param card_id [String] The card identifier.
61
63
  #
64
+ # @param authorization_controls [Increase::Models::CardUpdateParams::AuthorizationControls] Controls that restrict how this card can be used.
65
+ #
62
66
  # @param billing_address [Increase::Models::CardUpdateParams::BillingAddress] The card's updated billing address.
63
67
  #
64
68
  # @param description [String] The description you choose to give the card.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.278.2"
4
+ VERSION = "1.280.0"
5
5
  end