PlanProductInlineProductParams class final

inline_product_params

The product whose pricing the created plan will represent. This can either be the ID of an existing product, or a dictionary containing fields used to create a [service product](https://stripe.com/docs/api#product_object-type).

Constructors

PlanProductInlineProductParams({bool? active, String? id, Map<String, String>? metadata, required String name, String? statementDescriptor, String? taxCode, String? unitLabel})
inline_product_params
const
PlanProductInlineProductParams.fromJson(Object? json)
factory

Properties

active bool?
final
hashCode int
The hash code for this object.
no setterinherited
id String?
final
metadata Map<String, String>?
final
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statementDescriptor String?
final
taxCode String?
final
unitLabel String?
final

Methods

encodeWith<V>(Encoder<V> encoder) → V
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

encode<V>(PlanProductInlineProductParams instance, Encoder<V> encoder) → V