class DiadocApi::Upd970

Defined in:

diadoc_api/methods/xml_titles/upd_970.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(seller_info : OrgInfo, buyer_info : OrgInfo) #

[View source]

Instance Method Detail

def add_transfer_base(base : TransferBase) #

[View source]
def buyer_info : OrgInfo #

[View source]
def buyer_info=(buyer_info : OrgInfo) #

[View source]
def consignee : OrgInfo | Nil #

[View source]
def consignee=(consignee : OrgInfo | Nil) #

[View source]
def document_date : Time | Nil #

[View source]
def document_date=(document_date : Time | Nil) #

[View source]
def document_number : String | Nil #

[View source]
def document_number=(document_number : String | Nil) #

[View source]
def organization_details(io : String::Builder, org : OrgInfo) #

As per ExtendedOrganizationInfoUtd970 from UserContractXsd


[View source]
def payment_documents : Array({date: Time, number: String, total: Float64}) #

[View source]
def payment_documents=(payment_documents : Array(NamedTuple(date: Time, number: String, total: Float64))) #

[View source]
def seller_info : OrgInfo #

[View source]
def seller_info=(seller_info : OrgInfo) #

[View source]
def signer_first_name : String | Nil #

[View source]
def signer_first_name=(signer_first_name : String | Nil) #

[View source]
def signer_inn : String | Nil #

[View source]
def signer_inn=(signer_inn : String | Nil) #

[View source]
def signer_last_name : String | Nil #

[View source]
def signer_last_name=(signer_last_name : String | Nil) #

[View source]
def signer_middle_name : String | Nil #

[View source]
def signer_middle_name=(signer_middle_name : String | Nil) #

[View source]
def signer_power_base : String | Nil #

[View source]
def signer_power_base=(signer_power_base : String | Nil) #

[View source]
def table_items : Array(DiadocApi::Upd970::TableItem) #

[View source]
def table_items=(table_items : Array(DiadocApi::Upd970::TableItem)) #

[View source]
def to_xml : String #

[View source]
def total_w_vat : Float64 | Nil #

[View source]
def total_w_vat=(total_w_vat : Float64 | Nil) #

[View source]
def transfer_bases : Array(DiadocApi::Upd970::TransferBase) #

Используется для заполнения поля "Основания передачи" что под табличной частью с товарами в УПД.


[View source]
def transfer_bases=(transfer_bases : Array(DiadocApi::Upd970::TransferBase)) #

Используется для заполнения поля "Основания передачи" что под табличной частью с товарами в УПД.


[View source]
def vat_total : Float64 | Nil #

[View source]
def vat_total=(vat_total : Float64 | Nil) #

[View source]