PlanRequestMessage class

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)
getter/setter pair
cycle int?
Ciclo do Plano (Número inteiro maior que 0)
getter/setter pair
features List<PlanFeature>?
Funcionalidades do Plano
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
intervalType String?
Tipo de Interval ("weeks" ou "months")
getter/setter pair
name String?
Nome do Plano
getter/setter pair
paymentMethod String?
Método de pagamento que será disponibilizado para as Faturas pertencentes a Assinaturas deste Plano ('all', 'credit_card' ou 'bank_slip')
getter/setter pair
prices List<PlanPrice>?
Preços do Plano
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uniqueIdentifier String?
Identificador do Plano
getter/setter pair
valueInCents int?
Preço do Plano em Centavos
getter/setter pair

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 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