nerdexam
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)
  • A
    9% (4)
  • B
    2% (1)
  • C
    81% (35)
  • D
    7% (3)

Community Discussion

No community discussion yet for this question.

Full M70-101 Practice