Class: Square::Types::InvoicePaymentRequest

Inherits:
Internal::Types::Model show all
Defined in:
lib/square/types/invoice_payment_request.rb

Overview

Represents a payment request for an [invoice](entity:Invoice). Invoices can specify a maximum of 13 payment requests, with up to 12 ‘INSTALLMENT` request types. For more information, see [Configuring payment requests](developer.squareup.com/docs/invoices-api/create-publish-invoices#payment-requests).

Adding ‘INSTALLMENT` payment requests to an invoice requires an [Invoices Plus subscription](developer.squareup.com/docs/invoices-api/overview#invoices-plus-subscription).

Method Summary

Methods inherited from Internal::Types::Model

#==, ===, add_extra_field_definition, coerce, extra_fields, field, fields, #initialize, #inspect, literal, load, #to_h

Methods included from Internal::Types::Type

#coerce, #strict!, #strict?

Methods included from Internal::JSON::Serializable

#dump, #load

Constructor Details

This class inherits a constructor from Square::Internal::Types::Model