InvoiceRequestMessage class

Constructors

InvoiceRequestMessage({String? email, String? dueDate, List<Item>? items, PayerModel? payer, String? returnUrl, String? expiredUrl, String? notificationUrl, int? taxCents, bool? enableLateFine, String? latePaymentFine, bool? enableProportionalDailyTax, int? discountCents, String? customerId, bool? ignoreDueDateMail, String? subscriptionId, String? paymentMethod, int? credits, List<Logs>? logs, bool? enableEarlyPaymentDiscount, List<EarlyPaymentDiscounts>? earlyPaymentDiscounts, List<CustomVariables>? customVariables})
InvoiceRequestMessage.fromJson(String source)
factory
InvoiceRequestMessage.fromMap(Map<String, dynamic> map)
factory

Properties

credits int?
Obs: Caso esta Fatura esteja atrelada à uma Assinatura, a prioridade é herdar o valor atribuído na Assinatura; caso esta esteja atribuído o valor ‘all’, o sistema considerará o payable_with da Fatura; se não, o sistema considerará o payable_with da Assinatura. (opcional) Caso tenha o subscription_id, pode-se enviar o número de créditos a adicionar nessa Assinatura quando a Fatura for paga
getter/setter pair
customerId String?
(opcional) ID do Cliente
getter/setter pair
customVariables List<CustomVariables>?
(opcional) Variáveis Personalizadas
getter/setter pair
discountCents int?
(opcional) Valor dos Descontos em centavos
getter/setter pair
dueDate String?
Data de Expiração (DD/MM/AAAA)
getter/setter pair
earlyPaymentDiscounts List<EarlyPaymentDiscounts>?
(opcional) Quantidade de dias de antecedência para o pagamento receber o desconto
getter/setter pair
email String?
E-Mail do cliente
getter/setter pair
enableEarlyPaymentDiscount bool?
(opcional) Ativa ou desativa o desconto por pagamento antecipado
getter/setter pair
enableLateFine bool?
(opcional) Booleano para Habilitar ou Desabilitar multa por atraso de pagamento
getter/setter pair
enableProportionalDailyTax bool?
(opcional) Booleano que determina se cobra ou não juros por dia de atraso. 1% ao mês pro rata.
getter/setter pair
expiredUrl String?
(opcional) Cliente é redirecionado para essa URL se a Fatura que estiver acessando estiver expirada
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
ignoreDueDateMail bool?
(opcional) Booleano que ignora o envio do e-mail de cobrança
getter/setter pair
items List<Item>?
Itens da Fatura
getter/setter pair
latePaymentFine String?
(opcional) Determine a multa a ser cobrada para pagamentos efetuados após a data de vencimento
getter/setter pair
logs List<Logs>?
(opcional) Logs da Fatura
getter/setter pair
notificationUrl String?
(opcional) URL chamada para todas as notificações de Fatura, assim como os webhooks (Gatilhos) são chamados
getter/setter pair
payer PayerModel?
Informações do Cliente para o Anti Fraude ou Boleto
getter/setter pair
paymentMethod String?
(opcional) Método de pagamento que será disponibilizado para esta Fatura (‘all’, ‘credit_card’ ou ‘bank_slip’).
getter/setter pair
returnUrl String?
(opcional) Cliente é redirecionado para essa URL após efetuar o pagamento da Fatura pela página de Fatura da Iugu
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subscriptionId String?
(opcional) Amarra esta Fatura com a Assinatura especificada
getter/setter pair
taxCents int?
(opcional) Valor dos Impostos em centavos
getter/setter pair

Methods

copyWith({String? email, String? dueDate, List<Item>? items, PayerModel? payer, String? returnUrl, String? expiredUrl, String? notificationUrl, int? taxCents, bool? enableLateFine, String? latePaymentFine, bool? enableProportionalDailyTax, int? discountCents, String? customerId, bool? ignoreDueDateMail, String? subscriptionId, String? paymentMethod, int? credits, List<Logs>? logs, bool? enableEarlyPaymentDiscount, List<EarlyPaymentDiscounts>? earlyPaymentDiscounts, List<CustomVariables>? customVariables}) InvoiceRequestMessage
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object o) bool
The equality operator.
override