Magento
M70-101 · Question #1
Which of the following lines includes a payment method object?
The correct answer is C. $method = $this->getMethodInstance ( ); inside Mage_Sales_Model_Quote_Payment. See the full explanation below for the reasoning.
Question
Which of the following lines includes a payment method object?
Options
- A$quote->getShippingAddress ( )-
- B.public function setPayment(Mage_Sales_Model_Quote_Payment $payment)
- C$method = $this->getMethodInstance ( ); inside Mage_Sales_Model_Quote_Payment
- D$instance->setInfoInstance($this); inside Mage_Payment_Model_Info
How the community answered
(43 responses)- A9% (4)
- B2% (1)
- C81% (35)
- D7% (3)
Community Discussion
No community discussion yet for this question.