class

Stripe::FileLinksApi

Inherits Reference < Object

Constants

GET_FILE_LINKS_MAX_LENGTH_FOR_FILE = 5000
POST_FILE_LINKS_MAX_LENGTH_FOR_FILE = 5000

Constructors

new(api_client : Stripe::ApiClient = ApiClient.default)
Source

Instance methods

api_client
Source
api_client=(api_client : ApiClient)
Source
build_api_request_for_post_file_links(*, file : String | Nil = nil, expand : Array(String) | Nil = nil, expires_at : Int64 | Nil = nil, metadata : Stripe::PostAccountsRequestMetadata | Nil = nil) : Crest::Request

@return Crest::Request

Source
build_api_request_for_post_file_links_link(*, link : String | Nil = nil, expand : Array(String) | Nil = nil, expires_at : Stripe::PostFileLinksLinkRequestExpiresAt | Nil = nil, metadata : Stripe::PostAccountsRequestMetadata | Nil = nil) : Crest::Request

@return Crest::Request

Source
client_side_validation?(*args, **options)
Source
client_side_validation?(*args, **options, &)
Source
debugging?(*args, **options)
Source
debugging?(*args, **options, &)
Source
post_file_links(*, file : String | Nil = nil, expand : Array(String) | Nil = nil, expires_at : Int64 | Nil = nil, metadata : Stripe::PostAccountsRequestMetadata | Nil = nil) : Stripe::FileLink

Creates a new file link object.

@required @param file [String?] The ID of the file. The file's `purpose` must be one of the following: `business_icon`, `business_logo`, `customer_signature`, `dispute_evidence`, `finance_report_run`, `identity_document_downloadable`, `issuing_regulatory_reporting`, `pci_document`, `selfie`, `sigma_scheduled_query`, `tax_document_user_upload`, or `terminal_reader_splashscreen`. @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param expires_at [Int32?] The link isn't usable after this future timestamp. @optional @param metadata [Stripe::PostAccountsRequestMetadata?] @return [Stripe::FileLink]
Source
post_file_links(*, file : String | Nil = nil, expand : Array(String) | Nil = nil, expires_at : Int64 | Nil = nil, metadata : Stripe::PostAccountsRequestMetadata | Nil = nil, &block : Crest::Response -> ) : Nil

<p>Creates a new file link object.</p> @required @param file [String?] The ID of the file. The file's purpose must be one of the following: business_icon, business_logo, customer_signature, dispute_evidence, finance_report_run, identity_document_downloadable, issuing_regulatory_reporting, pci_document, selfie, sigma_scheduled_query, tax_document_user_upload, or terminal_reader_splashscreen. @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param expires_at [Int32?] The link isn't usable after this future timestamp. @optional @param metadata [Stripe::PostAccountsRequestMetadata?] @return nil

Source
post_file_links_link(*, link : String | Nil = nil, expand : Array(String) | Nil = nil, expires_at : Stripe::PostFileLinksLinkRequestExpiresAt | Nil = nil, metadata : Stripe::PostAccountsRequestMetadata | Nil = nil) : Stripe::FileLink

Updates an existing file link object. Expired links can no longer be updated.

@required @param link [String?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param expires_at [Stripe::PostFileLinksLinkRequestExpiresAt?] @optional @param metadata [Stripe::PostAccountsRequestMetadata?] @return [Stripe::FileLink]
Source
post_file_links_link(*, link : String | Nil = nil, expand : Array(String) | Nil = nil, expires_at : Stripe::PostFileLinksLinkRequestExpiresAt | Nil = nil, metadata : Stripe::PostAccountsRequestMetadata | Nil = nil, &block : Crest::Response -> ) : Nil

<p>Updates an existing file link object. Expired links can no longer be updated.</p> @required @param link [String?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param expires_at [Stripe::PostFileLinksLinkRequestExpiresAt?] @optional @param metadata [Stripe::PostAccountsRequestMetadata?] @return nil

Source
post_file_links_link_with_http_info(*, link : String | Nil = nil, expand : Array(String) | Nil = nil, expires_at : Stripe::PostFileLinksLinkRequestExpiresAt | Nil = nil, metadata : Stripe::PostAccountsRequestMetadata | Nil = nil) : Tuple(Stripe::FileLink, Int32, Hash(String, Array(String) | String))

<p>Updates an existing file link object. Expired links can no longer be updated.</p> @required @param link [String?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param expires_at [Stripe::PostFileLinksLinkRequestExpiresAt?] @optional @param metadata [Stripe::PostAccountsRequestMetadata?] @return [Tuple(Stripe::FileLink, Integer, Hash)] Stripe::FileLink, response status code and response headers

Source
post_file_links_with_http_info(*, file : String | Nil = nil, expand : Array(String) | Nil = nil, expires_at : Int64 | Nil = nil, metadata : Stripe::PostAccountsRequestMetadata | Nil = nil) : Tuple(Stripe::FileLink, Int32, Hash(String, Array(String) | String))

<p>Creates a new file link object.</p> @required @param file [String?] The ID of the file. The file's purpose must be one of the following: business_icon, business_logo, customer_signature, dispute_evidence, finance_report_run, identity_document_downloadable, issuing_regulatory_reporting, pci_document, selfie, sigma_scheduled_query, tax_document_user_upload, or terminal_reader_splashscreen. @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param expires_at [Int32?] The link isn't usable after this future timestamp. @optional @param metadata [Stripe::PostAccountsRequestMetadata?] @return [Tuple(Stripe::FileLink, Integer, Hash)] Stripe::FileLink, response status code and response headers

Source