Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Profile

import type { Profile } from "https://aws-api.deno.dev/v0.4/services/customerprofiles.ts?docs=full";

The standard profile of a customer.

interface Profile {
AccountNumber?: string | null;
AdditionalInformation?: string | null;
Address?: Address | null;
Attributes?: {
[key: string]: string | null | undefined;
}
| null;
BillingAddress?: Address | null;
BirthDate?: string | null;
BusinessEmailAddress?: string | null;
BusinessName?: string | null;
BusinessPhoneNumber?: string | null;
EmailAddress?: string | null;
FirstName?: string | null;
FoundByItems?: FoundByKeyValue[] | null;
Gender?: Gender | null;
GenderString?: string | null;
HomePhoneNumber?: string | null;
LastName?: string | null;
MailingAddress?: Address | null;
MiddleName?: string | null;
MobilePhoneNumber?: string | null;
PartyType?: PartyType | null;
PartyTypeString?: string | null;
PersonalEmailAddress?: string | null;
PhoneNumber?: string | null;
ProfileId?: string | null;
ShippingAddress?: Address | null;
}

§Properties

§
AccountNumber?: string | null
[src]

A unique account number that you have given to the customer.

§
AdditionalInformation?: string | null
[src]

Any additional information relevant to the customer’s profile.

§
Address?: Address | null
[src]

A generic address associated with the customer that is not mailing, shipping, or billing.

§
Attributes?: {
[key: string]: string | null | undefined;
}
| null
[src]

A key value pair of attributes of a customer profile.

§
BillingAddress?: Address | null
[src]

The customer’s billing address.

§
BirthDate?: string | null
[src]

The customer’s birth date.

§
BusinessEmailAddress?: string | null
[src]

The customer’s business email address.

§
BusinessName?: string | null
[src]

The name of the customer’s business.

§
BusinessPhoneNumber?: string | null
[src]

The customer’s home phone number.

§
EmailAddress?: string | null
[src]

The customer’s email address, which has not been specified as a personal or business address.

§
FirstName?: string | null
[src]

The customer’s first name.

§
FoundByItems?: FoundByKeyValue[] | null
[src]

A list of items used to find a profile returned in a SearchProfiles response. An item is a key-value(s) pair that matches an attribute in the profile.

If the optional AdditionalSearchKeys parameter was included in the SearchProfiles request, the FoundByItems list should be interpreted based on the LogicalOperator used in the request:

  • AND - The profile included in the response matched all of the search keys specified in the request. The FoundByItems will include all of the key-value(s) pairs that were specified in the request (as this is a requirement of AND search logic).
  • OR - The profile included in the response matched at least one of the search keys specified in the request. The FoundByItems will include each of the key-value(s) pairs that the profile was found by.

The OR relationship is the default behavior if the LogicalOperator parameter is not included in the SearchProfiles request.

§
Gender?: Gender | null
[src]

The gender with which the customer identifies.

§
GenderString?: string | null
[src]

An alternative to Gender which accepts any string as input.

§
HomePhoneNumber?: string | null
[src]

The customer’s home phone number.

§
LastName?: string | null
[src]

The customer’s last name.

§
MailingAddress?: Address | null
[src]

The customer’s mailing address.

§
MiddleName?: string | null
[src]

The customer’s middle name.

§
MobilePhoneNumber?: string | null
[src]

The customer’s mobile phone number.

§
PartyType?: PartyType | null
[src]

The type of profile used to describe the customer.

§
PartyTypeString?: string | null
[src]

An alternative to PartyType which accepts any string as input.

§
PersonalEmailAddress?: string | null
[src]

The customer’s personal email address.

§
PhoneNumber?: string | null
[src]

The customer's phone number, which has not been specified as a mobile, home, or business number.

§
ProfileId?: string | null
[src]

The unique identifier of a customer profile.

§
ShippingAddress?: Address | null
[src]

The customer’s shipping address.