def instantbuy_ccorder(
            self,
            amountInCent,
            instantBuyKey,
            creditCardBrand='Mastercard',
            orderReference="Exemplo 123",
            simulado=1):
        """
        :param amountInCent:
        :param instantBuyKey:
        :param simulado:
        :param creditCardBrand:
        :return: arcCreateOrderResponse:
        :rtype: CreateOrderResponse
        """

        nocct = CreditCardTransaction()
        nocct.paymentMethodCode = simulado
        nocct.amountInCents = amountInCent
        # nocct.BrandEnum.MasterCard
        nocct.creditCardBrandEnum = creditCardBrand
        nocct.creditCardOperationEnum = nocct.OperationEnum.AuthAndCapture
        nocct.installmentCount = 1
        nocct.InstantBuyKey = instantBuyKey
        nocct.transactionReference = "transactionReference"

        nor = CreateOrderRequest()
        nor.currencyIsoEnum = self.currencyIsoEnum
        nor.amountInCents = amountInCent
        nor.amountInCentsToConsiderPaid = 0
        nor.orderReference = "Order 123"
        nor.emailUpdateToBuyerEnum = "Yes"
        nor.merchantKey = self.MerchantKey
        nor.creditCardTransactionCollection.append(nocct)

        if self.nog is None:
            self.nog = Gateway()
        resposta = self.nog.CreateOrder(nor)
        # Descomente as linhas abaixo se for necessário troubleshooting no SOAP / XML
        # xf = open("suds_com_debug.txt","w")
        # xf.write("\nSUDS Client last XML sent:\n\n")
        # xf.write( str(self.nog.last_sent()))
        # xf.write("\n\nSUDS Client last XML received:\n\n")
        # xf.write( str(self.nog.last_received()) )
        return resposta
    def instantbuy_ccorder(self,
                           ZamountInCent,
                           ZinstantBuyKey,
                           ZcreditCardBrand='Mastercard',
                           ZorderReference="Exemplo 123",
                           simulado=1):
        """
        :param ZamountInCent:
        :param ZinstantBuyKey:
        :param simulado:
        :param ZcreditCardBrand:
        :return: arcCreateOrderResponse:
        :rtype: CreateOrderResponse
        """

        nocct = CreditCardTransaction()
        nocct.paymentMethodCode = simulado
        nocct.amountInCents = ZamountInCent
        nocct.creditCardBrandEnum = ZcreditCardBrand  # nocct.BrandEnum.MasterCard
        nocct.creditCardOperationEnum = nocct.OperationEnum.AuthAndCapture
        nocct.installmentCount = 1
        nocct.InstantBuyKey = ZinstantBuyKey
        nocct.transactionReference = "transactionReference"

        nor = CreateOrderRequest()
        nor.currencyIsoEnum = self.currencyIsoEnum
        nor.amountInCents = ZamountInCent
        nor.amountInCentsToConsiderPaid = 0
        nor.orderReference = "Order 123"
        nor.emailUpdateToBuyerEnum = "Yes"
        nor.merchantKey = self.MerchantKey
        nor.creditCardTransactionCollection.append(nocct)

        if self.nog is None:
            self.nog = Gateway()
        resposta = self.nog.CreateOrder(nor)
        # Descomente as linhas abaixo se for necessário troubleshooting no SOAP / XML
        # xf = open("suds_com_debug.txt","w")
        # xf.write("\nSUDS Client last XML sent:\n\n")
        # xf.write( str(self.nog.last_sent()))
        # xf.write("\n\nSUDS Client last XML received:\n\n")
        # xf.write( str(self.nog.last_received()) )
        return resposta