public static BoletoPayment BoletoTransactionResponse() { var paymentId = Guid.NewGuid(); var boletoTransaction = new BoletoPayment { Amount = 15057, Provider = ProviderEnum.Bradesco, Country = "BRA", Currency = "BRL", PaymentId = paymentId, ReasonCode = 0, Type = "Boleto", ReasonMessage = "Successful", Status = 1, Links = new List<Link> { new Link { Href = "https://apisandbox.braspag.com.br/v2/sales/" + paymentId, Method = "GET", Rel = "self" } } }; return boletoTransaction; }
public static BoletoPayment BoletoTransactionRequest() { var boletoTransaction = new BoletoPayment { Amount = 15057, Provider = ProviderEnum.Bradesco, Country = "BRA", Currency = "BRL" }; return boletoTransaction; }