fromJsonObject() public static method

public static fromJsonObject ( $json )
 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();
 }
Exemplo n.º 3
0
 public function getJsonObject()
 {
     return JsonBuilder::fromJsonObject(parent::getJsonObject())->add("token", $this->getToken())->getObject();
 }
Exemplo n.º 4
0
 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();
 }
Exemplo n.º 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();
 }
Exemplo n.º 8
0
 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();
 }
Exemplo n.º 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();
 }