Class: Vatsense::Models::InvoiceBusinessInput

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/vatsense/models/invoice_business_input.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(address:, name:, vat_number:, bank_account: nil, company_number: nil, email: nil, logo: nil, phone: nil, website: nil) ⇒ Object

Some parameter documentations has been truncated, see Vatsense::Models::InvoiceBusinessInput for more details.

Parameters:

  • address (String)

    Your business trading address.

  • name (String)

    Your business trading name.

  • vat_number (String)

    Your business VAT number.

  • bank_account (String) (defaults to: nil)
  • company_number (String) (defaults to: nil)

    Your business company number.

  • email (String) (defaults to: nil)
  • logo (String) (defaults to: nil)

    URL to your company logo (HTTPS only, .svg/.jpg/.png). Recommended 240px by 60px

  • phone (String) (defaults to: nil)
  • website (String) (defaults to: nil)


# File 'lib/vatsense/models/invoice_business_input.rb', line 57

Instance Attribute Details

#addressString

Your business trading address.

Returns:

  • (String)


10
# File 'lib/vatsense/models/invoice_business_input.rb', line 10

required :address, String

#bank_accountString?

Returns:

  • (String, nil)


27
# File 'lib/vatsense/models/invoice_business_input.rb', line 27

optional :bank_account, String

#company_numberString?

Your business company number.

Returns:

  • (String, nil)


33
# File 'lib/vatsense/models/invoice_business_input.rb', line 33

optional :company_number, String

#emailString?

Returns:

  • (String, nil)


38
# File 'lib/vatsense/models/invoice_business_input.rb', line 38

optional :email, String

#logoString?

URL to your company logo (HTTPS only, .svg/.jpg/.png). Recommended 240px by 60px.

Returns:

  • (String, nil)


45
# File 'lib/vatsense/models/invoice_business_input.rb', line 45

optional :logo, String

#nameString

Your business trading name.

Returns:

  • (String)


16
# File 'lib/vatsense/models/invoice_business_input.rb', line 16

required :name, String

#phoneString?

Returns:

  • (String, nil)


50
# File 'lib/vatsense/models/invoice_business_input.rb', line 50

optional :phone, String

#vat_numberString

Your business VAT number.

Returns:

  • (String)


22
# File 'lib/vatsense/models/invoice_business_input.rb', line 22

required :vat_number, String

#websiteString?

Returns:

  • (String, nil)


55
# File 'lib/vatsense/models/invoice_business_input.rb', line 55

optional :website, String