public function embedBillingAddress() { return $this->mapEmbedded('billingAddress', activeapi\models\common\Address::className(), ['unsetSource' => false]); }
public function attributeLabels() { $parentAttributeLabels = parent::attributeLabels(); $attributeLabels = ['default_shipping' => 'Default Shipping', 'default_billing' => 'Default Billing']; return array_merge($parentAttributeLabels, $attributeLabels); }
public function embedBilling_address() { return $this->mapEmbedded('billing_address', Address::className(), ['unsetSource' => false]); }