plaid2.model.payment_initiation_address module

class plaid2.model.payment_initiation_address.PaymentInitiationAddress(*, city: str, country: str, postal_code: str, street: List[str])[source]

Bases: BaseModel

city: str

The city where the recipient is located. Maximum of 35 characters.

country: str

The ISO 3166-1 alpha-2 country code where the recipient is located.

dict(**kwargs: Any) Dict[str, Any][source]

Return a dict representation of the object. Takes same keyword arguments as pydantic.BaseModel.dict

json(**kwargs: Any) str[source]

Return a json string representation of the object. Takes same keyword arguments as pydantic.BaseModel.json

classmethod parse_obj(data: Any) PaymentInitiationAddress[source]

Parse a dict into the object. Takes same keyword arguments as pydantic.BaseModel.parse_obj

classmethod parse_raw(b: Union[bytes, str], **kwargs: Any) PaymentInitiationAddress[source]

Parse a json string into the object. Takes same keyword arguments as pydantic.BaseModel.parse_raw

postal_code: str

The postal code where the recipient is located. Maximum of 16 characters.

street: List[str]

An array of length 1-2 representing the street address where the recipient is located. Maximum of 70 characters.