PlanRequestMessage class Null safety

Constructors

PlanRequestMessage({String? name, String? uniqueIdentifier, int? cycle, String? intervalType, String? currencyTypeName, int? valueInCents, String? paymentMethod, List<PlanPrice>? prices, List<PlanFeature>? features})
PlanRequestMessage.fromJson(String source)
factory
PlanRequestMessage.fromMap(Map<String, dynamic> map)
factory

Properties

currencyTypeName String?
Moeda do Preço (Somente "BRL" por enquanto)
read / write
cycle int?
Ciclo do Plano (Número inteiro maior que 0)
read / write
features List<PlanFeature>?
Funcionalidades do Plano
read / write
hashCode int
The hash code for this object. [...]
read-only, override
intervalType String?
Tipo de Interval ("weeks" ou "months")
read / write
name String?
Nome do Plano
read / write
paymentMethod String?
Método de pagamento que será disponibilizado para as Faturas pertencentes a Assinaturas deste Plano ('all', 'credit_card' ou 'bank_slip')
read / write
prices List<PlanPrice>?
Preços do Plano
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
uniqueIdentifier String?
Identificador do Plano
read / write
valueInCents int?
Preço do Plano em Centavos
read / write

Methods

copyWith({String? name, String? uniqueIdentifier, int? cycle, String? intervalType, String? currencyTypeName, int? valueInCents, String? paymentMethod, List<PlanPrice>? prices, List<PlanFeature>? features}) PlanRequestMessage
Plan request message
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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