getOfferTerms

Returns the terms attached to an offer, such as pricing terms (usage-based, contract, BYOL, free trial), legal terms, payment schedules, validity terms, support terms, and renewal terms.

Samples


fun main() { 
   //sampleStart 
   // GetOfferTerms for Usage based ML Model offer
val resp = marketplaceDiscoveryClient.getOfferTerms {
    offerId = "offer-sampleUsageBasedId"
} 
   //sampleEnd
}

fun main() { 
   //sampleStart 
   // GetOfferTerms for BYOL offer
val resp = marketplaceDiscoveryClient.getOfferTerms {
    offerId = "offer-sampleByolId"
} 
   //sampleEnd
}

fun main() { 
   //sampleStart 
   // GetOfferTerms for configurable upfront pricing
val resp = marketplaceDiscoveryClient.getOfferTerms {
    offerId = "offer-sampleConfigUpfrontId"
} 
   //sampleEnd
}

fun main() { 
   //sampleStart 
   // GetOfferTerms for free trial offer
val resp = marketplaceDiscoveryClient.getOfferTerms {
    offerId = "offer-sampleFreeTrialId"
} 
   //sampleEnd
}

fun main() { 
   //sampleStart 
   // GetOfferTerms for recurring payment
val resp = marketplaceDiscoveryClient.getOfferTerms {
    offerId = "offer-sampleRecurringId"
} 
   //sampleEnd
}

fun main() { 
   //sampleStart 
   // GetOfferTerms for variable payment
val resp = marketplaceDiscoveryClient.getOfferTerms {
    offerId = "offer-sampleVariableId"
} 
   //sampleEnd
}

fun main() { 
   //sampleStart 
   // GetOfferTerms for renewal term
val resp = marketplaceDiscoveryClient.getOfferTerms {
    offerId = "offer-sampleRenewalId"
} 
   //sampleEnd
}

fun main() { 
   //sampleStart 
   // GetOfferTerms for support term
val resp = marketplaceDiscoveryClient.getOfferTerms {
    offerId = "offer-sampleSupportId"
} 
   //sampleEnd
}

fun main() { 
   //sampleStart 
   // GetOfferTerms for validity term with dates
val resp = marketplaceDiscoveryClient.getOfferTerms {
    offerId = "offer-sampleValidityId"
} 
   //sampleEnd
}