Header Ads

Show all attribute function orders in magento2

Show all attribute, function orders in magento2

Show all attribute orders in magento2


List all attribute, function in orders object in magento 2

1, List function in object order in magento 2

Array
(
    [0] => __construct
    [1] => unsetData
    [2] => getActionFlag
    [3] => setActionFlag
    [4] => getCanSendNewEmailFlag
    [5] => setCanSendNewEmailFlag
    [6] => loadByIncrementId
    [7] => loadByIncrementIdAndStoreId
    [8] => loadByAttribute
    [9] => getStore
    [10] => canCancel
    [11] => canVoidPayment
    [12] => canInvoice
    [13] => canCreditmemo
    [14] => canHold
    [15] => canUnhold
    [16] => canComment
    [17] => canShip
    [18] => canEdit
    [19] => canReorder
    [20] => canReorderIgnoreSalable
    [21] => isPaymentReview
    [22] => canReviewPayment
    [23] => canFetchPaymentReviewUpdate
    [24] => getConfig
    [25] => getPayment
    [26] => setBillingAddress
    [27] => setShippingAddress
    [28] => getBillingAddress
    [29] => getShippingAddress
    [30] => setState
    [31] => getStatusLabel
    [32] => addStatusToHistory
    [33] => addStatusHistoryComment
    [34] => addCommentToStatusHistory
    [35] => setHistoryEntityName
    [36] => getEntityType
    [37] => place
    [38] => hold
    [39] => unhold
    [40] => cancel
    [41] => isFraudDetected
    [42] => registerCancellation
    [43] => getTrackingNumbers
    [44] => getShippingMethod
    [45] => getAddressesCollection
    [46] => getAddressById
    [47] => addAddress
    [48] => getItemsCollection
    [49] => getParentItemsRandomCollection
    [50] => getAllItems
    [51] => getAllVisibleItems
    [52] => getItemById
    [53] => getItemByQuoteItemId
    [54] => addItem
    [55] => getPaymentsCollection
    [56] => getAllPayments
    [57] => getPaymentById
    [58] => setPayment
    [59] => getStatusHistoryCollection
    [60] => getAllStatusHistory
    [61] => getVisibleStatusHistory
    [62] => getStatusHistoryById
    [63] => addStatusHistory
    [64] => getRealOrderId
    [65] => getOrderCurrency
    [66] => formatPrice
    [67] => formatPricePrecision
    [68] => formatPriceTxt
    [69] => getBaseCurrency
    [70] => formatBasePrice
    [71] => formatBasePricePrecision
    [72] => isCurrencyDifferent
    [73] => getTotalDue
    [74] => getBaseTotalDue
    [75] => getData
    [76] => getInvoiceCollection
    [77] => setInvoiceCollection
    [78] => getShipmentsCollection
    [79] => getCreditmemosCollection
    [80] => getTracksCollection
    [81] => hasInvoices
    [82] => hasShipments
    [83] => hasCreditmemos
    [84] => getRelatedObjects
    [85] => getCustomerName
    [86] => addRelatedObject
    [87] => getCreatedAtFormatted
    [88] => getEmailCustomerNote
    [89] => getStoreGroupName
    [90] => reset
    [91] => getIsNotVirtual
    [92] => prepareInvoice
    [93] => isCanceled
    [94] => getIncrementId
    [95] => getItems
    [96] => setItems
    [97] => getAddresses
    [98] => getStatusHistories
    [99] => getExtensionAttributes
    [100] => setExtensionAttributes
    [101] => getAdjustmentNegative
    [102] => getAdjustmentPositive
    [103] => getAppliedRuleIds
    [104] => getBaseAdjustmentNegative
    [105] => getBaseAdjustmentPositive
    [106] => getBaseCurrencyCode
    [107] => getBaseDiscountAmount
    [108] => getBaseDiscountCanceled
    [109] => getBaseDiscountInvoiced
    [110] => getBaseDiscountRefunded
    [111] => getBaseGrandTotal
    [112] => getBaseDiscountTaxCompensationAmount
    [113] => getBaseDiscountTaxCompensationInvoiced
    [114] => getBaseDiscountTaxCompensationRefunded
    [115] => getBaseShippingAmount
    [116] => getBaseShippingCanceled
    [117] => getBaseShippingDiscountAmount
    [118] => getBaseShippingDiscountTaxCompensationAmnt
    [119] => getBaseShippingInclTax
    [120] => getBaseShippingInvoiced
    [121] => getBaseShippingRefunded
    [122] => getBaseShippingTaxAmount
    [123] => getBaseShippingTaxRefunded
    [124] => getBaseSubtotal
    [125] => getBaseSubtotalCanceled
    [126] => getBaseSubtotalInclTax
    [127] => getBaseSubtotalInvoiced
    [128] => getBaseSubtotalRefunded
    [129] => getBaseTaxAmount
    [130] => getBaseTaxCanceled
    [131] => getBaseTaxInvoiced
    [132] => getBaseTaxRefunded
    [133] => getBaseTotalCanceled
    [134] => getBaseTotalInvoiced
    [135] => getBaseTotalInvoicedCost
    [136] => getBaseTotalOfflineRefunded
    [137] => getBaseTotalOnlineRefunded
    [138] => getBaseTotalPaid
    [139] => getBaseTotalQtyOrdered
    [140] => getBaseTotalRefunded
    [141] => getBaseToGlobalRate
    [142] => getBaseToOrderRate
    [143] => getBillingAddressId
    [144] => getCanShipPartially
    [145] => getCanShipPartiallyItem
    [146] => getCouponCode
    [147] => getCreatedAt
    [148] => setCreatedAt
    [149] => getCustomerDob
    [150] => getCustomerEmail
    [151] => getCustomerFirstname
    [152] => getCustomerGender
    [153] => getCustomerGroupId
    [154] => getCustomerId
    [155] => getCustomerIsGuest
    [156] => getCustomerLastname
    [157] => getCustomerMiddlename
    [158] => getCustomerNote
    [159] => getCustomerNoteNotify
    [160] => getCustomerPrefix
    [161] => getCustomerSuffix
    [162] => getCustomerTaxvat
    [163] => getDiscountAmount
    [164] => getDiscountCanceled
    [165] => getDiscountDescription
    [166] => getDiscountInvoiced
    [167] => getDiscountRefunded
    [168] => getEditIncrement
    [169] => getEmailSent
    [170] => getExtCustomerId
    [171] => getExtOrderId
    [172] => getForcedShipmentWithInvoice
    [173] => getGlobalCurrencyCode
    [174] => getGrandTotal
    [175] => getDiscountTaxCompensationAmount
    [176] => getDiscountTaxCompensationInvoiced
    [177] => getDiscountTaxCompensationRefunded
    [178] => getHoldBeforeState
    [179] => getHoldBeforeStatus
    [180] => getIsVirtual
    [181] => getOrderCurrencyCode
    [182] => getOriginalIncrementId
    [183] => getPaymentAuthorizationAmount
    [184] => getPaymentAuthExpiration
    [185] => getProtectCode
    [186] => getQuoteAddressId
    [187] => getQuoteId
    [188] => getRelationChildId
    [189] => getRelationChildRealId
    [190] => getRelationParentId
    [191] => getRelationParentRealId
    [192] => getRemoteIp
    [193] => getShippingAmount
    [194] => getShippingCanceled
    [195] => getShippingDescription
    [196] => getShippingDiscountAmount
    [197] => getShippingDiscountTaxCompensationAmount
    [198] => getShippingInclTax
    [199] => getShippingInvoiced
    [200] => getShippingRefunded
    [201] => getShippingTaxAmount
    [202] => getShippingTaxRefunded
    [203] => getState
    [204] => getStatus
    [205] => getStoreCurrencyCode
    [206] => getStoreId
    [207] => getStoreName
    [208] => getStoreToBaseRate
    [209] => getStoreToOrderRate
    [210] => getSubtotal
    [211] => getSubtotalCanceled
    [212] => getSubtotalInclTax
    [213] => getSubtotalInvoiced
    [214] => getSubtotalRefunded
    [215] => getTaxAmount
    [216] => getTaxCanceled
    [217] => getTaxInvoiced
    [218] => getTaxRefunded
    [219] => getTotalCanceled
    [220] => getTotalInvoiced
    [221] => getTotalItemCount
    [222] => getTotalOfflineRefunded
    [223] => getTotalOnlineRefunded
    [224] => getTotalPaid
    [225] => getTotalQtyOrdered
    [226] => getTotalRefunded
    [227] => getUpdatedAt
    [228] => getWeight
    [229] => getXForwardedFor
    [230] => setStatusHistories
    [231] => setStatus
    [232] => setCouponCode
    [233] => setProtectCode
    [234] => setShippingDescription
    [235] => setIsVirtual
    [236] => setStoreId
    [237] => setCustomerId
    [238] => setBaseDiscountAmount
    [239] => setBaseDiscountCanceled
    [240] => setBaseDiscountInvoiced
    [241] => setBaseDiscountRefunded
    [242] => setBaseGrandTotal
    [243] => setBaseShippingAmount
    [244] => setBaseShippingCanceled
    [245] => setBaseShippingInvoiced
    [246] => setBaseShippingRefunded
    [247] => setBaseShippingTaxAmount
    [248] => setBaseShippingTaxRefunded
    [249] => setBaseSubtotal
    [250] => setBaseSubtotalCanceled
    [251] => setBaseSubtotalInvoiced
    [252] => setBaseSubtotalRefunded
    [253] => setBaseTaxAmount
    [254] => setBaseTaxCanceled
    [255] => setBaseTaxInvoiced
    [256] => setBaseTaxRefunded
    [257] => setBaseToGlobalRate
    [258] => setBaseToOrderRate
    [259] => setBaseTotalCanceled
    [260] => setBaseTotalInvoiced
    [261] => setBaseTotalInvoicedCost
    [262] => setBaseTotalOfflineRefunded
    [263] => setBaseTotalOnlineRefunded
    [264] => setBaseTotalPaid
    [265] => setBaseTotalQtyOrdered
    [266] => setBaseTotalRefunded
    [267] => setDiscountAmount
    [268] => setDiscountCanceled
    [269] => setDiscountInvoiced
    [270] => setDiscountRefunded
    [271] => setGrandTotal
    [272] => setShippingAmount
    [273] => setShippingCanceled
    [274] => setShippingInvoiced
    [275] => setShippingRefunded
    [276] => setShippingTaxAmount
    [277] => setShippingTaxRefunded
    [278] => setStoreToBaseRate
    [279] => setStoreToOrderRate
    [280] => setSubtotal
    [281] => setSubtotalCanceled
    [282] => setSubtotalInvoiced
    [283] => setSubtotalRefunded
    [284] => setTaxAmount
    [285] => setTaxCanceled
    [286] => setTaxInvoiced
    [287] => setTaxRefunded
    [288] => setTotalCanceled
    [289] => setTotalInvoiced
    [290] => setTotalOfflineRefunded
    [291] => setTotalOnlineRefunded
    [292] => setTotalPaid
    [293] => setTotalQtyOrdered
    [294] => setTotalRefunded
    [295] => setCanShipPartially
    [296] => setCanShipPartiallyItem
    [297] => setCustomerIsGuest
    [298] => setCustomerNoteNotify
    [299] => setBillingAddressId
    [300] => setCustomerGroupId
    [301] => setEditIncrement
    [302] => setEmailSent
    [303] => setForcedShipmentWithInvoice
    [304] => setPaymentAuthExpiration
    [305] => setQuoteAddressId
    [306] => setQuoteId
    [307] => setAdjustmentNegative
    [308] => setAdjustmentPositive
    [309] => setBaseAdjustmentNegative
    [310] => setBaseAdjustmentPositive
    [311] => setBaseShippingDiscountAmount
    [312] => setBaseSubtotalInclTax
    [313] => setBaseTotalDue
    [314] => setPaymentAuthorizationAmount
    [315] => setShippingDiscountAmount
    [316] => setSubtotalInclTax
    [317] => setTotalDue
    [318] => setWeight
    [319] => setCustomerDob
    [320] => setIncrementId
    [321] => setAppliedRuleIds
    [322] => setBaseCurrencyCode
    [323] => setCustomerEmail
    [324] => setCustomerFirstname
    [325] => setCustomerLastname
    [326] => setCustomerMiddlename
    [327] => setCustomerPrefix
    [328] => setCustomerSuffix
    [329] => setCustomerTaxvat
    [330] => setDiscountDescription
    [331] => setExtCustomerId
    [332] => setExtOrderId
    [333] => setGlobalCurrencyCode
    [334] => setHoldBeforeState
    [335] => setHoldBeforeStatus
    [336] => setOrderCurrencyCode
    [337] => setOriginalIncrementId
    [338] => setRelationChildId
    [339] => setRelationChildRealId
    [340] => setRelationParentId
    [341] => setRelationParentRealId
    [342] => setRemoteIp
    [343] => setStoreCurrencyCode
    [344] => setStoreName
    [345] => setXForwardedFor
    [346] => setCustomerNote
    [347] => setUpdatedAt
    [348] => setTotalItemCount
    [349] => setCustomerGender
    [350] => setDiscountTaxCompensationAmount
    [351] => setBaseDiscountTaxCompensationAmount
    [352] => setShippingDiscountTaxCompensationAmount
    [353] => setBaseShippingDiscountTaxCompensationAmnt
    [354] => setDiscountTaxCompensationInvoiced
    [355] => setBaseDiscountTaxCompensationInvoiced
    [356] => setDiscountTaxCompensationRefunded
    [357] => setBaseDiscountTaxCompensationRefunded
    [358] => setShippingInclTax
    [359] => setBaseShippingInclTax
    [360] => setShippingMethod
    [361] => getEventObject
    [362] => getCustomAttributes
    [363] => getCustomAttribute
    [364] => setCustomAttributes
    [365] => setCustomAttribute
    [366] => setData
    [367] => setId
    [368] => setIdFieldName
    [369] => getIdFieldName
    [370] => getId
    [371] => isDeleted
    [372] => hasDataChanges
    [373] => setDataChanges
    [374] => getOrigData
    [375] => setOrigData
    [376] => dataHasChangedFor
    [377] => getResourceName
    [378] => getResourceCollection
    [379] => getCollection
    [380] => load
    [381] => beforeLoad
    [382] => afterLoad
    [383] => isSaveAllowed
    [384] => setHasDataChanges
    [385] => save
    [386] => afterCommitCallback
    [387] => isObjectNew
    [388] => beforeSave
    [389] => validateBeforeSave
    [390] => getCacheTags
    [391] => cleanModelCache
    [392] => afterSave
    [393] => delete
    [394] => beforeDelete
    [395] => afterDelete
    [396] => afterDeleteCommit
    [397] => getResource
    [398] => getEntityId
    [399] => setEntityId
    [400] => clearInstance
    [401] => getStoredData
    [402] => getEventPrefix
    [403] => addData
    [404] => getDataByPath
    [405] => getDataByKey
    [406] => setDataUsingMethod
    [407] => getDataUsingMethod
    [408] => hasData
    [409] => toArray
    [410] => convertToArray
    [411] => toXml
    [412] => convertToXml
    [413] => toJson
    [414] => convertToJson
    [415] => toString
    [416] => __call
    [417] => isEmpty
    [418] => serialize
    [419] => debug
    [420] => offsetSet
    [421] => offsetExists
    [422] => offsetUnset
    [423] => offsetGet
    [424] => __sleep
    [425] => __wakeup
    [426] => ___init
    [427] => ___callParent
)

2, List all attribute in object order in magento 2

When you install sampledata of magento2

Array
(
    [entity_id] => 1
    [state] => processing
    [status] => processing
    [coupon_code] => 
    [protect_code] => a5500cc26b9b90b14d27978dbeeaa5c1
    [shipping_description] => Flat Rate - Fixed
    [is_virtual] => 0
    [store_id] => 1
    [customer_id] => 1
    [base_discount_amount] => 0.0000
    [base_discount_canceled] => 
    [base_discount_invoiced] => 0.0000
    [base_discount_refunded] => 
    [base_grand_total] => 36.3900
    [base_shipping_amount] => 5.0000
    [base_shipping_canceled] => 
    [base_shipping_invoiced] => 5.0000
    [base_shipping_refunded] => 
    [base_shipping_tax_amount] => 0.0000
    [base_shipping_tax_refunded] => 
    [base_subtotal] => 29.0000
    [base_subtotal_canceled] => 
    [base_subtotal_invoiced] => 29.0000
    [base_subtotal_refunded] => 
    [base_tax_amount] => 2.3900
    [base_tax_canceled] => 
    [base_tax_invoiced] => 2.3900
    [base_tax_refunded] => 
    [base_to_global_rate] => 1.0000
    [base_to_order_rate] => 1.0000
    [base_total_canceled] => 
    [base_total_invoiced] => 36.3900
    [base_total_invoiced_cost] => 0.0000
    [base_total_offline_refunded] => 
    [base_total_online_refunded] => 
    [base_total_paid] => 36.3900
    [base_total_qty_ordered] => 
    [base_total_refunded] => 
    [discount_amount] => 0.0000
    [discount_canceled] => 
    [discount_invoiced] => 0.0000
    [discount_refunded] => 
    [grand_total] => 36.3900
    [shipping_amount] => 5.0000
    [shipping_canceled] => 
    [shipping_invoiced] => 5.0000
    [shipping_refunded] => 
    [shipping_tax_amount] => 0.0000
    [shipping_tax_refunded] => 
    [store_to_base_rate] => 0.0000
    [store_to_order_rate] => 0.0000
    [subtotal] => 29.0000
    [subtotal_canceled] => 
    [subtotal_invoiced] => 29.0000
    [subtotal_refunded] => 
    [tax_amount] => 2.3900
    [tax_canceled] => 
    [tax_invoiced] => 2.3900
    [tax_refunded] => 
    [total_canceled] => 
    [total_invoiced] => 36.3900
    [total_offline_refunded] => 
    [total_online_refunded] => 
    [total_paid] => 36.3900
    [total_qty_ordered] => 1.0000
    [total_refunded] => 
    [can_ship_partially] => 
    [can_ship_partially_item] => 
    [customer_is_guest] => 0
    [customer_note_notify] => 1
    [billing_address_id] => 2
    [customer_group_id] => 1
    [edit_increment] => 
    [email_sent] => 
    [send_email] => 
    [forced_shipment_with_invoice] => 
    [payment_auth_expiration] => 
    [quote_address_id] => 
    [quote_id] => 1
    [shipping_address_id] => 1
    [adjustment_negative] => 
    [adjustment_positive] => 
    [base_adjustment_negative] => 
    [base_adjustment_positive] => 
    [base_shipping_discount_amount] => 0.0000
    [base_subtotal_incl_tax] => 31.3900
    [base_total_due] => 36.3900
    [payment_authorization_amount] => 
    [shipping_discount_amount] => 0.0000
    [subtotal_incl_tax] => 31.3900
    [total_due] => 36.3900
    [weight] => 1.0000
    [customer_dob] => 1973-12-15 00:00:00
    [increment_id] => 000000001
    [applied_rule_ids] => 
    [base_currency_code] => VND
    [customer_email] => [email protected]
    [customer_firstname] => Veronica
    [customer_lastname] => Costello
    [customer_middlename] => 
    [customer_prefix] => 
    [customer_suffix] => 
    [customer_taxvat] => 
    [discount_description] => 
    [ext_customer_id] => 
    [ext_order_id] => 
    [global_currency_code] => VND
    [hold_before_state] => 
    [hold_before_status] => 
    [order_currency_code] => VND
    [original_increment_id] => 
    [relation_child_id] => 
    [relation_child_real_id] => 
    [relation_parent_id] => 
    [relation_parent_real_id] => 
    [remote_ip] => 
    [shipping_method] => flatrate_flatrate
    [store_currency_code] => VND
    [store_name] => Main Website
Main Website Store

    [x_forwarded_for] => 
    [customer_note] => 
    [created_at] => 2019-02-21 09:39:22
    [updated_at] => 2019-02-21 09:39:23
    [total_item_count] => 1
    [customer_gender] => 2
    [discount_tax_compensation_amount] => 0.0000
    [base_discount_tax_compensation_amount] => 0.0000
    [shipping_discount_tax_compensation_amount] => 0.0000
    [base_shipping_discount_tax_compensation_amnt] => 0.0000
    [discount_tax_compensation_invoiced] => 0.0000
    [base_discount_tax_compensation_invoiced] => 0.0000
    [discount_tax_compensation_refunded] => 
    [base_discount_tax_compensation_refunded] => 
    [shipping_incl_tax] => 5.0000
    [base_shipping_incl_tax] => 5.0000
    [coupon_rule_name] => 
    [paypal_ipn_customer_notified] => 0
    [gift_message_id] => 
    [sent_to_oracle] => 0
)

 

 


No comments