/// <summary> /// Cria uma transação de boleto /// </summary> /// <param name="boletoTransaction">Dados da transação de boleto</param> /// <param name="orderReference">Identificação do pedido na loja</param> /// <returns></returns> public HttpResponse<CreateSaleResponse> Create(BoletoTransaction boletoTransaction, string orderReference) { Collection<BoletoTransaction> boletoTransactionCollection = new Collection<BoletoTransaction>(); boletoTransactionCollection.Add(boletoTransaction); return this.Create(boletoTransactionCollection, orderReference); }
/// <summary> /// Cria uma transação de boleto /// </summary> /// <param name="boletoTransaction">Dados da transação de boleto</param> /// <returns></returns> public HttpResponse<CreateSaleResponse> Create(BoletoTransaction boletoTransaction) { return this.Create(boletoTransaction, null); }
/// <summary> /// Cria uma transação de boleto /// </summary> /// <param name="boletoTransaction">Dados da transação de boleto</param> /// <returns></returns> public HttpResponse<CreateSaleResponse> Create(BoletoTransaction boletoTransaction) { Collection<BoletoTransaction> boletoTransactionCollection = new Collection<BoletoTransaction>(); boletoTransactionCollection.Add(boletoTransaction); return this.Create(boletoTransactionCollection); }