getJsonObject() public method

public getJsonObject ( )
 public function getJsonObject()
 {
     return JsonBuilder::fromJsonObject(parent::getJsonObject())->addPrice("price", $this->getPrice())->addPrice("paidPrice", $this->getPaidPrice())->add("installment", $this->getInstallment())->add("buyerEmail", $this->getBuyerEmail())->add("buyerId", $this->getBuyerId())->add("buyerIp", $this->getBuyerIp())->add("posOrderId", $this->getPosOrderId())->add("paymentCard", $this->getPaymentCard())->add("currency", $this->getCurrency())->add("connectorName", $this->getConnectorName())->add("callbackUrl", $this->getCallbackUrl())->getObject();
 }
 public function getJsonObject()
 {
     return JsonBuilder::fromJsonObject(parent::getJsonObject())->add("binNumber", $this->getBinNumber())->addPrice("price", $this->getPrice())->getObject();
 }
 public function getJsonObject()
 {
     return JsonBuilder::fromJsonObject(parent::getJsonObject())->add("token", $this->getToken())->getObject();
 }
 public function getJsonObject()
 {
     return JsonBuilder::fromJsonObject(parent::getJsonObject())->add("paymentId", $this->getPaymentId())->add("ip", $this->getIp())->getObject();
 }
 public function getJsonObject()
 {
     return JsonBuilder::fromJsonObject(parent::getJsonObject())->add("name", $this->getName())->add("email", $this->getEmail())->add("gsmNumber", $this->getGsmNumber())->add("address", $this->getAddress())->add("iban", $this->getIban())->add("taxOffice", $this->getTaxOffice())->add("contactName", $this->getContactName())->add("contactSurname", $this->getContactSurname())->add("legalCompanyTitle", $this->getLegalCompanyTitle())->add("swiftCode", $this->getSwiftCode())->add("currency", $this->getCurrency())->add("subMerchantKey", $this->getSubMerchantKey())->add("identityNumber", $this->getIdentityNumber())->add("taxNumber", $this->getTaxNumber())->getObject();
 }
Example #6
0
 public function getJsonObject()
 {
     return JsonBuilder::fromJsonObject(parent::getJsonObject())->add("cardUserKey", $this->getCardUserKey())->add("cardToken", $this->getCardToken())->getObject();
 }
 public function getJsonObject()
 {
     return JsonBuilder::fromJsonObject(parent::getJsonObject())->add("date", $this->getDate())->getObject();
 }
 public function getJsonObject()
 {
     return JsonBuilder::fromJsonObject(parent::getJsonObject())->add("paymentTransactionId", $this->getPaymentTransactionId())->addPrice("price", $this->getPrice())->add("ip", $this->getIp())->add("currency", $this->getCurrency())->getObject();
 }
 public function getJsonObject()
 {
     return JsonBuilder::fromJsonObject(parent::getJsonObject())->addPrice("price", $this->getPrice())->add("basketId", $this->getBasketId())->add("paymentGroup", $this->getPaymentGroup())->add("buyer", $this->getBuyer())->add("shippingAddress", $this->getShippingAddress())->add("billingAddress", $this->getBillingAddress())->addArray("basketItems", $this->getBasketItems())->add("callbackUrl", $this->getCallbackUrl())->add("paymentSource", $this->getPaymentSource())->add("currency", $this->getCurrency())->addPrice("paidPrice", $this->getPaidPrice())->getObject();
 }
 public function getJsonObject()
 {
     return JsonBuilder::fromJsonObject(parent::getJsonObject())->addPrice("price", $this->getPrice())->add("basketId", $this->getBasketId())->add("paymentGroup", $this->getPaymentGroup())->add("buyer", $this->getBuyer())->add("shippingAddress", $this->getShippingAddress())->add("billingAddress", $this->getBillingAddress())->addArray("basketItems", $this->getBasketItems())->add("callbackUrl", $this->getCallbackUrl())->add("paymentSource", $this->getPaymentSource())->add("currency", $this->getCurrency())->add("posOrderId", $this->getPosOrderId())->addPrice("paidPrice", $this->getPaidPrice())->add("forceThreeDS", $this->getForceThreeDS())->add("cardUserKey", $this->getCardUserKey())->addArray("enabledInstallments", $this->getEnabledInstallments())->getObject();
 }
 public function getJsonObject()
 {
     return JsonBuilder::fromJsonObject(parent::getJsonObject())->add("connectorName", $this->getConnectorName())->addPrice("price", $this->getPrice())->add("callbackUrl", $this->getCallbackUrl())->add("buyerEmail", $this->getBuyerEmail())->add("buyerId", $this->getBuyerId())->add("buyerIp", $this->getBuyerIp())->add("posOrderId", $this->getPosOrderId())->addArray("installmentDetails", $this->getInstallmentDetails())->getObject();
 }
Example #12
0
 public function getJsonObject()
 {
     return JsonBuilder::fromJsonObject(parent::getJsonObject())->add("externalId", $this->getExternalId())->add("email", $this->getEmail())->add("cardUserKey", $this->getCardUserKey())->add("card", $this->getCard())->getObject();
 }
 public function getJsonObject()
 {
     return JsonBuilder::fromJsonObject(parent::getJsonObject())->add("subMerchantKey", $this->getSubMerchantKey())->addPrice("price", $this->getPrice())->add("reason", $this->getReason())->add("currency", $this->getCurrency())->getObject();
 }
 public function getJsonObject()
 {
     return JsonBuilder::fromJsonObject(parent::getJsonObject())->add("subMerchantExternalId", $this->getSubMerchantExternalId())->getObject();
 }
 public function getJsonObject()
 {
     return JsonBuilder::fromJsonObject(parent::getJsonObject())->add("paymentId", $this->getPaymentId())->add("conversationData", $this->getConversationData())->getObject();
 }