Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
configured_endpoints: 255
openapi_spec_hash: 4458c613643910026be17923a699563f
openapi_spec_hash: 90992ea280e3908675040b09766b5ad7
config_hash: de151ebd21a0bd391662389b310a8f49
8 changes: 4 additions & 4 deletions lib/increase/models/ach_transfer_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ class ACHTransferCreateParams < Increase::Internal::Type::BaseModel

# @!attribute company_name
# The name by which the recipient knows you, sent in the company batch header. We
# recommend setting this on every transfer; if you do not, we fall back to the ACH
# company name configured on your account.
# recommend setting this on every transfer; if you do not, we fall back to the
# `statement_descriptor`.
#
# @return [String, nil]
optional :company_name, String
Expand Down Expand Up @@ -197,8 +197,8 @@ class ACHTransferCreateParams < Increase::Internal::Type::BaseModel
#
# @param company_name [String]
# The name by which the recipient knows you, sent in the company batch header. We
# recommend setting this on every transfer; if you do not, we fall back to the ACH
# company name configured on your account.
# recommend setting this on every transfer; if you do not, we fall back to the
# `statement_descriptor`.
#
# @param destination_account_holder [Symbol, Increase::Models::ACHTransferCreateParams::DestinationAccountHolder]
# The type of entity that owns the receiver's account.
Expand Down
64 changes: 63 additions & 1 deletion lib/increase/models/digital_card_profile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ class DigitalCardProfile < Increase::Internal::Type::BaseModel
# @return [String]
required :app_icon_file_id, String

# @!attribute apple_pay
# Apple Pay specific settings for the Card Profile.
#
# @return [Increase::Models::DigitalCardProfile::ApplePay, nil]
required :apple_pay, -> { Increase::DigitalCardProfile::ApplePay }, nil?: true

# @!attribute background_image_file_id
# The identifier of the File containing the card's front image.
#
Expand Down Expand Up @@ -93,7 +99,7 @@ class DigitalCardProfile < Increase::Internal::Type::BaseModel
# @return [Symbol, Increase::Models::DigitalCardProfile::Type]
required :type, enum: -> { Increase::DigitalCardProfile::Type }

# @!method initialize(id:, app_icon_file_id:, background_image_file_id:, card_description:, contact_email:, contact_name:, contact_phone:, contact_website:, created_at:, description:, idempotency_key:, status:, text_color:, type:)
# @!method initialize(id:, app_icon_file_id:, apple_pay:, background_image_file_id:, card_description:, contact_email:, contact_name:, contact_phone:, contact_website:, created_at:, description:, idempotency_key:, status:, text_color:, type:)
# This contains artwork and metadata relating to a Card's appearance in digital
# wallet apps like Apple Pay and Google Pay. For more information, see our guide
# on [digital card artwork](https://increase.com/documentation/card-art).
Expand All @@ -102,6 +108,9 @@ class DigitalCardProfile < Increase::Internal::Type::BaseModel
#
# @param app_icon_file_id [String] The identifier of the File containing the card's icon image.
#
# @param apple_pay [Increase::Models::DigitalCardProfile::ApplePay, nil]
# Apple Pay specific settings for the Card Profile.
#
# @param background_image_file_id [String] The identifier of the File containing the card's front image.
#
# @param card_description [String] A user-facing description for the card itself.
Expand Down Expand Up @@ -138,6 +147,59 @@ class DigitalCardProfile < Increase::Internal::Type::BaseModel
# A constant representing the object's type. For this resource it will always be
# `digital_card_profile`.

# @see Increase::Models::DigitalCardProfile#apple_pay
class ApplePay < Increase::Internal::Type::BaseModel
# @!attribute associated_application_identifiers
# The applications associated with cards using this Card Profile.
#
# @return [Array<Increase::Models::DigitalCardProfile::ApplePay::AssociatedApplicationIdentifier>]
required :associated_application_identifiers,
-> { Increase::Internal::Type::ArrayOf[Increase::DigitalCardProfile::ApplePay::AssociatedApplicationIdentifier] }

# @!attribute associated_store_identifiers
# The App Store listings of the applications associated with cards using this Card
# Profile.
#
# @return [Array<Increase::Models::DigitalCardProfile::ApplePay::AssociatedStoreIdentifier>]
required :associated_store_identifiers,
-> { Increase::Internal::Type::ArrayOf[Increase::DigitalCardProfile::ApplePay::AssociatedStoreIdentifier] }

# @!method initialize(associated_application_identifiers:, associated_store_identifiers:)
# Apple Pay specific settings for the Card Profile.
#
# @param associated_application_identifiers [Array<Increase::Models::DigitalCardProfile::ApplePay::AssociatedApplicationIdentifier>]
# The applications associated with cards using this Card Profile.
#
# @param associated_store_identifiers [Array<Increase::Models::DigitalCardProfile::ApplePay::AssociatedStoreIdentifier>]
# The App Store listings of the applications associated with cards using this Card
# Profile.

class AssociatedApplicationIdentifier < Increase::Internal::Type::BaseModel
# @!attribute identifier
# The application identifier, composed of your Apple Developer Team ID and the
# application's bundle identifier, like `ABCDE12345.com.example.app`.
#
# @return [String]
required :identifier, String

# @!method initialize(identifier:)
# @param identifier [String]
# The application identifier, composed of your Apple Developer Team ID and the
# application's bundle identifier, like `ABCDE12345.com.example.app`.
end

class AssociatedStoreIdentifier < Increase::Internal::Type::BaseModel
# @!attribute identifier
# The numeric App Store identifier.
#
# @return [String]
required :identifier, String

# @!method initialize(identifier:)
# @param identifier [String] The numeric App Store identifier.
end
end

# The status of the Card Profile.
#
# @see Increase::Models::DigitalCardProfile#status
Expand Down
66 changes: 65 additions & 1 deletion lib/increase/models/digital_card_profile_clone_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ class DigitalCardProfileCloneParams < Increase::Internal::Type::BaseModel
# @return [String, nil]
optional :app_icon_file_id, String

# @!attribute apple_pay
# Apple Pay specific settings for the Card Profile. Each list you leave out is
# copied from the original Card Profile.
#
# @return [Increase::Models::DigitalCardProfileCloneParams::ApplePay, nil]
optional :apple_pay, -> { Increase::DigitalCardProfileCloneParams::ApplePay }

# @!attribute background_image_file_id
# The identifier of the File containing the card's front image.
#
Expand Down Expand Up @@ -68,11 +75,15 @@ class DigitalCardProfileCloneParams < Increase::Internal::Type::BaseModel
# @return [Increase::Models::DigitalCardProfileCloneParams::TextColor, nil]
optional :text_color, -> { Increase::DigitalCardProfileCloneParams::TextColor }

# @!method initialize(digital_card_profile_id:, app_icon_file_id: nil, background_image_file_id: nil, card_description: nil, contact_email: nil, contact_name: nil, contact_phone: nil, contact_website: nil, description: nil, text_color: nil, request_options: {})
# @!method initialize(digital_card_profile_id:, app_icon_file_id: nil, apple_pay: nil, background_image_file_id: nil, card_description: nil, contact_email: nil, contact_name: nil, contact_phone: nil, contact_website: nil, description: nil, text_color: nil, request_options: {})
# @param digital_card_profile_id [String] The identifier of the Digital Card Profile to clone.
#
# @param app_icon_file_id [String] The identifier of the File containing the card's icon image.
#
# @param apple_pay [Increase::Models::DigitalCardProfileCloneParams::ApplePay]
# Apple Pay specific settings for the Card Profile. Each list you leave out is
# copied from the original Card Profile.
#
# @param background_image_file_id [String] The identifier of the File containing the card's front image.
#
# @param card_description [String] A user-facing description for the card itself.
Expand All @@ -94,6 +105,59 @@ class DigitalCardProfileCloneParams < Increase::Internal::Type::BaseModel
#
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]

class ApplePay < Increase::Internal::Type::BaseModel
# @!attribute associated_application_identifiers
# The applications to associate with cards using this Card Profile.
#
# @return [Array<Increase::Models::DigitalCardProfileCloneParams::ApplePay::AssociatedApplicationIdentifier>, nil]
optional :associated_application_identifiers,
-> { Increase::Internal::Type::ArrayOf[Increase::DigitalCardProfileCloneParams::ApplePay::AssociatedApplicationIdentifier] }

# @!attribute associated_store_identifiers
# The App Store listings of the applications to associate with cards using this
# Card Profile.
#
# @return [Array<Increase::Models::DigitalCardProfileCloneParams::ApplePay::AssociatedStoreIdentifier>, nil]
optional :associated_store_identifiers,
-> { Increase::Internal::Type::ArrayOf[Increase::DigitalCardProfileCloneParams::ApplePay::AssociatedStoreIdentifier] }

# @!method initialize(associated_application_identifiers: nil, associated_store_identifiers: nil)
# Apple Pay specific settings for the Card Profile. Each list you leave out is
# copied from the original Card Profile.
#
# @param associated_application_identifiers [Array<Increase::Models::DigitalCardProfileCloneParams::ApplePay::AssociatedApplicationIdentifier>]
# The applications to associate with cards using this Card Profile.
#
# @param associated_store_identifiers [Array<Increase::Models::DigitalCardProfileCloneParams::ApplePay::AssociatedStoreIdentifier>]
# The App Store listings of the applications to associate with cards using this
# Card Profile.

class AssociatedApplicationIdentifier < Increase::Internal::Type::BaseModel
# @!attribute identifier
# The application identifier, composed of your Apple Developer Team ID and the
# application's bundle identifier, like `ABCDE12345.com.example.app`.
#
# @return [String]
required :identifier, String

# @!method initialize(identifier:)
# @param identifier [String]
# The application identifier, composed of your Apple Developer Team ID and the
# application's bundle identifier, like `ABCDE12345.com.example.app`.
end

class AssociatedStoreIdentifier < Increase::Internal::Type::BaseModel
# @!attribute identifier
# The numeric App Store identifier.
#
# @return [String]
required :identifier, String

# @!method initialize(identifier:)
# @param identifier [String] The numeric App Store identifier.
end
end

class TextColor < Increase::Internal::Type::BaseModel
# @!attribute blue
# The value of the blue channel in the RGB color.
Expand Down
63 changes: 62 additions & 1 deletion lib/increase/models/digital_card_profile_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ class DigitalCardProfileCreateParams < Increase::Internal::Type::BaseModel
# @return [String]
required :description, String

# @!attribute apple_pay
# Apple Pay specific settings for the Card Profile.
#
# @return [Increase::Models::DigitalCardProfileCreateParams::ApplePay, nil]
optional :apple_pay, -> { Increase::DigitalCardProfileCreateParams::ApplePay }

# @!attribute contact_email
# An email address the user can contact to receive support for their card.
#
Expand Down Expand Up @@ -62,7 +68,7 @@ class DigitalCardProfileCreateParams < Increase::Internal::Type::BaseModel
# @return [Increase::Models::DigitalCardProfileCreateParams::TextColor, nil]
optional :text_color, -> { Increase::DigitalCardProfileCreateParams::TextColor }

# @!method initialize(app_icon_file_id:, background_image_file_id:, card_description:, description:, contact_email: nil, contact_name: nil, contact_phone: nil, contact_website: nil, text_color: nil, request_options: {})
# @!method initialize(app_icon_file_id:, background_image_file_id:, card_description:, description:, apple_pay: nil, contact_email: nil, contact_name: nil, contact_phone: nil, contact_website: nil, text_color: nil, request_options: {})
# @param app_icon_file_id [String] The identifier of the File containing the card's icon image.
#
# @param background_image_file_id [String] The identifier of the File containing the card's front image.
Expand All @@ -71,6 +77,9 @@ class DigitalCardProfileCreateParams < Increase::Internal::Type::BaseModel
#
# @param description [String] A description you can use to identify the Card Profile.
#
# @param apple_pay [Increase::Models::DigitalCardProfileCreateParams::ApplePay]
# Apple Pay specific settings for the Card Profile.
#
# @param contact_email [String] An email address the user can contact to receive support for their card.
#
# @param contact_name [String]
Expand All @@ -86,6 +95,58 @@ class DigitalCardProfileCreateParams < Increase::Internal::Type::BaseModel
#
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]

class ApplePay < Increase::Internal::Type::BaseModel
# @!attribute associated_application_identifiers
# The applications to associate with cards using this Card Profile.
#
# @return [Array<Increase::Models::DigitalCardProfileCreateParams::ApplePay::AssociatedApplicationIdentifier>, nil]
optional :associated_application_identifiers,
-> { Increase::Internal::Type::ArrayOf[Increase::DigitalCardProfileCreateParams::ApplePay::AssociatedApplicationIdentifier] }

# @!attribute associated_store_identifiers
# The App Store listings of the applications to associate with cards using this
# Card Profile.
#
# @return [Array<Increase::Models::DigitalCardProfileCreateParams::ApplePay::AssociatedStoreIdentifier>, nil]
optional :associated_store_identifiers,
-> { Increase::Internal::Type::ArrayOf[Increase::DigitalCardProfileCreateParams::ApplePay::AssociatedStoreIdentifier] }

# @!method initialize(associated_application_identifiers: nil, associated_store_identifiers: nil)
# Apple Pay specific settings for the Card Profile.
#
# @param associated_application_identifiers [Array<Increase::Models::DigitalCardProfileCreateParams::ApplePay::AssociatedApplicationIdentifier>]
# The applications to associate with cards using this Card Profile.
#
# @param associated_store_identifiers [Array<Increase::Models::DigitalCardProfileCreateParams::ApplePay::AssociatedStoreIdentifier>]
# The App Store listings of the applications to associate with cards using this
# Card Profile.

class AssociatedApplicationIdentifier < Increase::Internal::Type::BaseModel
# @!attribute identifier
# The application identifier, composed of your Apple Developer Team ID and the
# application's bundle identifier, like `ABCDE12345.com.example.app`.
#
# @return [String]
required :identifier, String

# @!method initialize(identifier:)
# @param identifier [String]
# The application identifier, composed of your Apple Developer Team ID and the
# application's bundle identifier, like `ABCDE12345.com.example.app`.
end

class AssociatedStoreIdentifier < Increase::Internal::Type::BaseModel
# @!attribute identifier
# The numeric App Store identifier.
#
# @return [String]
required :identifier, String

# @!method initialize(identifier:)
# @param identifier [String] The numeric App Store identifier.
end
end

class TextColor < Increase::Internal::Type::BaseModel
# @!attribute blue
# The value of the blue channel in the RGB color.
Expand Down
11 changes: 10 additions & 1 deletion lib/increase/models/inbound_real_time_payments_transfer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ class InboundRealTimePaymentsTransfer < Increase::Internal::Type::BaseModel
# @return [Increase::Models::InboundRealTimePaymentsTransfer::Decline, nil]
required :decline, -> { Increase::InboundRealTimePaymentsTransfer::Decline }, nil?: true

# @!attribute end_to_end_identification
# A free-form reference string set by the sender, to help identify the transfer.
#
# @return [String, nil]
required :end_to_end_identification, String, nil?: true

# @!attribute status
# The lifecycle status of the transfer.
#
Expand All @@ -103,7 +109,7 @@ class InboundRealTimePaymentsTransfer < Increase::Internal::Type::BaseModel
# @return [String, nil]
required :unstructured_remittance_information, String, nil?: true

# @!method initialize(id:, account_id:, account_number_id:, amount:, confirmation:, created_at:, creditor_name:, currency:, debtor_account_number:, debtor_name:, debtor_routing_number:, decline:, status:, transaction_identification:, type:, unstructured_remittance_information:)
# @!method initialize(id:, account_id:, account_number_id:, amount:, confirmation:, created_at:, creditor_name:, currency:, debtor_account_number:, debtor_name:, debtor_routing_number:, decline:, end_to_end_identification:, status:, transaction_identification:, type:, unstructured_remittance_information:)
# An Inbound Real-Time Payments Transfer is a Real-Time Payments transfer
# initiated outside of Increase to your account.
#
Expand Down Expand Up @@ -138,6 +144,9 @@ class InboundRealTimePaymentsTransfer < Increase::Internal::Type::BaseModel
# @param decline [Increase::Models::InboundRealTimePaymentsTransfer::Decline, nil]
# If your transfer is declined, this will contain details of the decline.
#
# @param end_to_end_identification [String, nil]
# A free-form reference string set by the sender, to help identify the transfer.
#
# @param status [Symbol, Increase::Models::InboundRealTimePaymentsTransfer::Status]
# The lifecycle status of the transfer.
#
Expand Down
4 changes: 2 additions & 2 deletions lib/increase/resources/ach_transfers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ class ACHTransfers
#
# @param company_name [String]
# The name by which the recipient knows you, sent in the company batch header. We
# recommend setting this on every transfer; if you do not, we fall back to the ACH
# company name configured on your account.
# recommend setting this on every transfer; if you do not, we fall back to the
# `statement_descriptor`.
#
# @param destination_account_holder [Symbol, Increase::Models::ACHTransferCreateParams::DestinationAccountHolder]
# The type of entity that owns the receiver's account.
Expand Down
Loading
Loading