| | |
- MTPAttachment
- MTPDocument
- MTPLineItem
class MTPAttachment |
| |
Attachment record for MTP |
| |
Methods defined here:
- __getitem__(self, key)
- diff(self)
- Test - it returns variables which differs in instance/class
Data and other attributes defined here:
- attachment = ''
- attachmentContentType = ''
- attachmentEncoding = 'Base64'
- attachmentFileName = ''
- attachmentLocation = ''
|
class MTPDocument |
| |
Main MTP datastructure - all Readers and Writers are childern of this
class. They are using MTPDocument attributes for convert data from/to
different formats |
| |
Methods defined here:
- __getitem__(self, key)
- diff(self)
- Returns variables which differs in instance and this parent class -
used by readers to check what they have implemented
- valid(self)
- Throw exception if values puted in attributes don't create valid MTP
Document. Returns MTP XML Document of attributes.
Data and other attributes defined here:
- attachments = []
- deliverToAddress = ''
- deliverToBillingAddress = ''
- deliverToCountry = ''
- deliverToCountryCode = ''
- deliverToEmail = ''
- deliverToFax = ''
- deliverToID = ''
- deliverToName = ''
- deliverToTelephone = ''
- deliverToWeb = ''
- deliveryPortCity = ''
- deliveryPortCountry = ''
- deliveryPortCountryCode = ''
- deliveryPortETA = ''
- deliveryPortETD = ''
- deliveryPortPier = ''
- deliveryPortPort = ''
- documentNoteFromSupplier = ''
- documentSupplierReference = ''
- equipmentManufacturer = ''
- equipmentModel = ''
- equipmentName = ''
- equipmentSerialNumber = ''
- jobBudget = ''
- jobBudgetCode = ''
- jobID = ''
- jobJustification = ''
- jobNeedByDate = ''
- jobNoteToSupplier = ''
- jobPriority = 'Medium'
- jobREQRaised = ''
- jobREQReceived = ''
- jobState = ''
- jobType = '_4'
- lineItems = []
- preparationDate = ''
- preparationSystem = ''
- preparationSystemVersion = ''
- preparationTime = ''
- shipOwnerAddress = ''
- shipOwnerBillingAddress = ''
- shipOwnerCountry = ''
- shipOwnerCountryCode = ''
- shipOwnerEmail = ''
- shipOwnerFax = ''
- shipOwnerID = ''
- shipOwnerName = ''
- shipOwnerTelephone = ''
- shipOwnerWeb = ''
- submittedBy = ''
- supplierAddress = ''
- supplierBillingAddress = ''
- supplierCountry = ''
- supplierCountryCode = ''
- supplierEmail = ''
- supplierFax = ''
- supplierID = ''
- supplierName = ''
- supplierTelephone = ''
- supplierWeb = ''
- vesselContact = ''
- vesselContactTelephone = ''
- vesselIMO = ''
- vesselName = ''
|
class MTPLineItem |
| |
LineItem record for MTP |
| |
Methods defined here:
- __getitem__(self, key)
- diff(self)
- Test - it returns variables which differs in instance/class
Data and other attributes defined here:
- lineItemDescription = ''
- lineItemID = ''
- lineItemManufacturer = ''
- lineItemManufacturerPartNo = ''
- lineItemModel = ''
- lineItemNoteFromSupplier = ''
- lineItemNoteToSupplier = ''
- lineItemOnBoard = ''
- lineItemPrice = 0
- lineItemPriceCurrency = 'USD'
- lineItemQuantity = 0
- lineItemQuantityUOM = 'PCE'
- lineItemSupplierPartNo = ''
| |