Class: YaKassa::V3::ReceiptRequest

Inherits:
BaseRequest show all
Defined in:
lib/ya_kassa/v3/receipt_request.rb

Constant Summary

Constants included from Concerns::Validatable

Concerns::Validatable::VALIDATORS

Instance Attribute Summary

Attributes inherited from BaseRequest

#response

Instance Method Summary collapse

Methods inherited from BaseRequest

#create, #initialize

Methods included from Concerns::Attributable

#attributable

Methods included from Concerns::Validatable

#errors, included, #valid?

Constructor Details

This class inherits a constructor from YaKassa::V3::BaseRequest

Instance Method Details

#bodyObject



26
27
28
29
30
31
32
33
34
35
# File 'lib/ya_kassa/v3/receipt_request.rb', line 26

def body
  {
    customer: body_customer,
    payment_id: payment_id,
    type: type,
    send: send,
    items: body_items,
    settlements: settlements_body
  }
end